Visual studio 2012 什么与不推荐使用的$(InputDir)宏等效?
试图为单个文件设置自定义预处理器,我尝试使用Visual studio 2012 什么与不推荐使用的$(InputDir)宏等效?,visual-studio-2012,visual-studio-2013,visual-studio-2015,c-preprocessor,Visual Studio 2012,Visual Studio 2013,Visual Studio 2015,C Preprocessor,试图为单个文件设置自定义预处理器,我尝试使用 "$(testDir)test.exe" "$(InputPath)" "$(ProjectDir)model.c" 作为命令行。 但是“$(InputPath)在Visual Studio 2013中已被弃用,我不知道如何用未弃用的宏替换此宏。您是否尝试过$(ProjectPath)?@rrirower是的,但我需要文件的路径,它应该放在“预处理器”中。
"$(testDir)test.exe" "$(InputPath)" "$(ProjectDir)model.c"
作为命令行。
但是
“$(InputPath)
在Visual Studio 2013中已被弃用,我不知道如何用未弃用的宏替换此宏。您是否尝试过$(ProjectPath)?@rrirower是的,但我需要文件的路径,它应该放在“预处理器”中。