Visual Studio 2012 - 条件编译符号设置的位置 [英] Visual Studio 2012 - location of Conditional Compilation Symbols settings
问题描述
我一生都找不到要在 Visual Studio 2012 中为项目输入条件编译符号的字段.我是此功能的新手,所以我不知道它是否已重命名否则,但我正在尝试遵循 本指南 但我被困在图片#4.我在项目属性中找不到 Build 选项卡,更不用说条件编译符号字段了.如果这有所作为,我在 C++ 项目中.
I cannot for the life of me find the field where I'm meant to input the conditional compilation symbols for a project in Visual Studio 2012. I'm new to this feature so I don't know if it's been renamed something else, but I'm trying to follow this guide but I get stuck at picture #4. I can't find a Build tab in the project properties, let alone the conditional compilation symbols field. I'm in a C++ project if that makes a difference.
我查看了文档并在 Google 上搜索无济于事.谢谢!
I've looked in documentation and Googled it to no avail. Thanks!
推荐答案
好的,我问的其他人已经找到了解决方案:
Ok so someone else I asked has found the solution:
- 转到项目属性 > 配置属性 > C/C++ > 预处理器
- 在预处理器定义中,单击右侧的下拉箭头并执行
. - 将新定义添加到文本框中的新行.
感谢用户 Steve.
这篇关于Visual Studio 2012 - 条件编译符号设置的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!