Hi : Could anybody tell me how to set the preprocessor definitions in a project like MS VC++? Thanks.
In Project Options, under Additional Command-line options to the Compiler, add
-Ddefinition
where "definitio" is the literal you want defined. You can add several -D options, e.g.
-D_DEBUG -D_MY_FLAG -D_IMPORTANT_NUMBER=3
Thanks for your answer
Log in to post a comment.
Hi :
Could anybody tell me how to set the preprocessor definitions in a project like MS VC++?
Thanks.
In Project Options, under Additional Command-line options to the Compiler, add
-Ddefinition
where "definitio" is the literal you want defined. You can add several -D options, e.g.
-D_DEBUG -D_MY_FLAG -D_IMPORTANT_NUMBER=3
Thanks for your answer