开发者

How to process all #include directives in Visual Studio C++ 2005?

I want to see how my #include files be processed when Microsoft Visual Studio C++ compile it. As I remember, there is a compile option to inline all #includes and #define lines but I can'开发者_如何学运维t find it. I use MSVC 2005 sp1.


The option you are looking for is under your project properties, "C/C++", "Preprocessor" then change "Generate Preprocessed File" to "With Line Numbers" or "Without Line Numbers", whatever you want.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜