为sourceinsight添加makefile、kconfig、.s文件支持
2016-11-12 19:21
459 查看
为了看linux源码,上网搜了一下。
如何添加makefile:
Options -> Document Options->Document Type下拉框中选择Make File(若要添加汇编文件,则选择x86 Asm Source File),在File Filter中加上*makefile(以分号隔开,同理添加*.s;*.S),并且选中Include when adding to projects,这样,以后再新建工程的时候(当前工程同步下makefile就有了),就可以识别makefile了。
如何添加kconfig:
由于kconfig是sourceinsight默认不支持的格式,所以我们现在先要加入一个Type。
点击 Add Type,填入新文件类型的名字kconfig,File Filter中写上*kconfig,最好再加上kconfig*(因为在linux中有些kconfig是以kconfig.*的形式出现),再选中下面的Include when adding to projects,这样就建立了一个新的文件类型, 以后新建工程加入文件时候,系统就能够识别kconfig的文件了。
注意:如果是已经创建的项目,需要重新创建一下才能将汇编文件添加到工程中。
可通过下面方法让汇编代码高亮显示和索引查找:在Options->Document Options里面,点左上的Document Type下拉菜单,选择C Source File,然后在右边的File filter里补上.s;.S就可以像看C一样看汇编代码了。
如何添加makefile:
Options -> Document Options->Document Type下拉框中选择Make File(若要添加汇编文件,则选择x86 Asm Source File),在File Filter中加上*makefile(以分号隔开,同理添加*.s;*.S),并且选中Include when adding to projects,这样,以后再新建工程的时候(当前工程同步下makefile就有了),就可以识别makefile了。
如何添加kconfig:
由于kconfig是sourceinsight默认不支持的格式,所以我们现在先要加入一个Type。
点击 Add Type,填入新文件类型的名字kconfig,File Filter中写上*kconfig,最好再加上kconfig*(因为在linux中有些kconfig是以kconfig.*的形式出现),再选中下面的Include when adding to projects,这样就建立了一个新的文件类型, 以后新建工程加入文件时候,系统就能够识别kconfig的文件了。
注意:如果是已经创建的项目,需要重新创建一下才能将汇编文件添加到工程中。
可通过下面方法让汇编代码高亮显示和索引查找:在Options->Document Options里面,点左上的Document Type下拉菜单,选择C Source File,然后在右边的File filter里补上.s;.S就可以像看C一样看汇编代码了。
相关文章推荐
- 为sourceinsight添加makefile、kconfig、*.S文件支持
- 为sourceinsight添加makefile、kconfig、*.S文件支持
- 为sourceinsight添加makefile和kconfig文件支持
- 为sourceinsight添加makefile、kconfig、*.S文件支持
- sourceinsight添加makefile、kconfig、*.S文件支持
- 为sourceinsight添加makefile、kconfig、*.S、*.s文件支持
- 为sourceinsight添加makefile、kconfig、*.S文件支持
- 为sourceinsight添加makefile、kconfig、*.S文件支持
- 为sourceinsight添加makefile、kconfig、*.S文件支持
- 为sourceinsight添加makefile和kconfig文件支持
- 为sourceinsight添加makefile、kconfig、*.S文件支持
- 为sourceinsight添加makefile、kconfig、*.S文件支持
- 为sourceinsight添加makefile、kconfig、*.S文件支持
- 为sourceinsight添加makefile、kconfig、*.S文件支持
- 为sourceinsight添加makefile、kconfig、*.S文件支持
- 为sourceinsight添加makefile和kconfig文件支持
- 为sourceinsight添加makefile、kconfig、*.S文件支持
- 为sourceinsight添加makefile、kconfig、*.S文件支持
- Source Insight添加makefile、kconfig、*.S文件支持
- 为Source Insight添加makefile、kconfig、*.S文件支持