开发者

How can I evaluate VS build command macros?

It's more often obvious what a build command macro like $(SolutionDir) will evaluate to, but when building complex strings of these macros, it would be nice to be able to quickly evaluate the resulting real string开发者_运维知识库. Is there any way of doing this except building a custom tool that takes a string of macros as input and outputs the evaluated string?


Just add a pre-build event and use "echo" to display the string in the Output window

 echo $(SolutionDir)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜