How do you call the Visual Studio preprocessor from the command line?

I want to implement the solution using the preprocessor described here:

Reuse define statement from .h file in C # code

Bonus points if you can point me to the documents on MSDN. I find it difficult to find them ...

+5
source share
1 answer

Use the / P switch for cl.exe ... see MSDN

+10
source

All Articles