【问题标题】:How do you invoke the Visual Studio Preprocessor from the command line?如何从命令行调用 Visual Studio 预处理器?
【发布时间】:2010-09-20 05:18:40
【问题描述】:

我想使用此处描述的预处理器来实现解决方案:

Reuse define statement from .h file in C# code

如果您可以将我指向 MSDN 上的文档,则可以加分。我很难找到它们...

【问题讨论】:

  • 我也很想知道这个问题的答案。

标签: visual-studio preprocessor


【解决方案1】:

对 cl.exe 使用 /P 选项...参见MSDN

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多