passing C defines

BlitzMax Forums/BlitzMax Programming/passing C defines

Nigel Brown(Posted 2006) [#1]
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?


kfprimm(Posted 2006) [#2]
i think _DEBUG or __DEBUG or DEBUG_, cant remember which, is defined the time of compiling by the C complier...i think


Nigel Brown(Posted 2006) [#3]
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?


Brucey(Posted 2006) [#4]
Not, as far as I've found myself.

Certainly would be handy (for all kinds of compile options)