It is a possible to pass argument to compiler (command line) and set defined variables:
Example:
#define EXVALUE
and I want to define EXVALUE at compiling:
application.cpp -8
‘-8’ it is a command line argument to define EXVALUE. So I hope that You will understand
what I want, and will help me.
I use Visual Studio C++ 2008 Express Edition.
Thanks. (Sorry for english bads)
Visual Studio (so also Visual C++ EE) uses
/Doption.Example:
You can do it by GUI :
Project Properties->C/C++->Preprocessor->Preprocessor DefinitionsFirst link in Google for
visual studio preprocessor definitionshas really nice information, if you need more.