[cfe-dev] How to programatically define a symbol?
matthieu.monrocq at gmail.com
Sat Apr 7 11:42:37 PDT 2012
Le 7 avril 2012 20:17, Yaakov Davis <yaakov.davis at gmail.com> a écrit :
> I want to programatically define a symbol, e.g. FOO, such that the code
> "#if defined(FOO)" will evaluate to true during pre-processing.
> How do I that?
> I tried addMacroDef("FOO"), and other methods, but to no avail.
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
in the code or
on the command line during the compilation (for gcc and clang at least)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev