passing C defines
BlitzMax Forums/BlitzMax Programming/passing C defines
| ||
The C code I am compiling with Include "" has #ifdef DEBUG within it. How can I define this and pass it to the compiler for the C? |
| ||
i think _DEBUG or __DEBUG or DEBUG_, cant remember which, is defined the time of compiling by the C complier...i think |
| ||
when using C compilers with IDE's you can usually pass a command line such as -DDebug or -lDebug how can this be done with MAX? |
| ||
Not, as far as I've found myself. Certainly would be handy (for all kinds of compile options) |