简体   繁体   English

请参阅VS2017中的C ++编译器和链接器命令行参数

[英]See the C++ compiler and linker command-line args in VS2017

I'm using Visual Studio 2017 for C++ development, and having trouble setting some things up via the IDE, eg, stackcommit. 我正在使用Visual Studio 2017进行C ++开发,并且无法通过IDE设置某些内容,例如stackcommit。

What I would really like to see is just how the IDE is invoking the compiler/linker. 我真正想看到的只是IDE如何调用编译器/链接器。

I can't find any such option under the View menu and wondered if anyone has found a way to do this please? 我在“查看”菜单下找不到任何此类选项,并想知道是否有人找到了一种执行此操作的方法?

  • Right click project in Solution Explorer >> Properties >> C/C++ >> Command Line 在解决方案资源管理器>>属性>> C / C ++ >>命令行中右键单击项目
  • Right click project in Solution Explorer >> Properties >> Linker >> Command Line 在解决方案资源管理器>>属性>>链接器>>命令行中右键单击项目

Here you can see the All Options generated from all the Configuration Properties and you can add Additional Options if you so wish to. 在这里,您可以看到从所有配置属性生成的“所有选项”,并且可以根据需要添加“其他选项”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM