sourceinsight4.0使用make命令编译

sourceinsight4.0使用make命令编译

2023年7月9日发(作者:)

sourceinsight4.0使⽤make命令编译1、新建SI⼯程,在SI⼯程的代码⽬录为makefile所在的⽬录,如下图2、显⽰build toolbar⼯具栏显⽰效果如下点击上图的第⼀个图标,弹出如下图所⽰的窗⼝3、选择Build Project,在右侧的Run窗⼝中输⼊“make”,⽬的是调⽤makefile⽂件,进⾏编译4、点击 Run Project,在右侧的Run窗⼝输⼊要运⾏的程序的路径,该路径为相对路径,此时点击对应的图标就可以直接调⽤命令进⾏代码编译和运⾏可以使⽤的source insight的命令有如下:The Run text box can contain meta-characters that cause the following items to be substituted in the ter%f%rExpands to当前⽂件的完整路径名 【*】当前⽂件相对于⼯程源码⽬录的相对路径名 【*】%n%d%h%b%e%c%p%j%Jleaf name of the current file 【*】当前⽂件所在的完整路径名当前⽂件的路径名(⽆磁盘驱动器字符)当前⽂件名(⽆后缀名) 【*】当前⽂件的后缀名当前⽂件所在的磁盘驱动器字符当前项⽬名称(包含完整路径)当前项⽬的源码路径当前项⽬的数据路径:myprojmyprojfilec (file.c 的⽂件后缀名为 c)c: (表⽰当前⽂件在磁盘驱动器C:下)c:myprojmyprojc:myprojC:Documents and SettingsJim SmithMy DocumentsSourceInsightProjectsBase%v%o%l%w当前项⽬源码所在的磁盘驱动器字符当前项⽬的名称(不包含路径)当前⾏号选择区域的第⼀个单词,或者光标处的单词c:myproj⾏号任何单词Examplec:.c%s⾃定义命令运⾏时,保存当前选择的临时⽂件名.d:tmpvt0004.%a%t%1 - %9当前⽇期当前时间提⽰⽤户输⼊参数05-12-0208:23any stringsYou can also postfix any of the above characters marked with * with either of the following modifier ter%o%mExpands to所有打开的⽂件所有修改的⽂件Example%f%o%f%m

发布者:admin,转转请注明出处:http://www.yc00.com/news/1688905171a182206.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信