如何在 Visual Studio 2017 C++ 上添加预处理器定义? [英] How to add preprocessor definition on visual studio 2017 c++?
本文介绍了如何在 Visual Studio 2017 C++ 上添加预处理器定义?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在 Visual Studio 2017 中修改预处理器定义?
How to modify preprocessor definition in Visual Studio 2017?
推荐答案
在 Visual Studio 中,可以通过右键单击解决方案资源管理器中的项目,然后选择属性,在每个项目的基础上修改预处理器定义.然后,展开树中的C/C++"选项,您将看到 Preprocessor 作为一个类别.
In Visual Studio, the Preprocessor Definitions can be modified on a per-project basis by right-clicking on the project within the Solution Explorer, then selecting Properties. Then, expand the "C/C++" selection in the tree, and you will see Preprocessor as a category.
这篇关于如何在 Visual Studio 2017 C++ 上添加预处理器定义?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文