ng bmk moduleinfo options

BlitzMax Forums/Brucey's Modules/ng bmk moduleinfo options

col(Posted 2015) [#1]
Hiya,

I'm sure I've seen the syntax for passing defines from a module to gcc by defining them in the ModuleInfo parameter. I can see source with the LD_OPTS: specified, so I'm after the same thing but for the defines.

Is it the same but just replacing LD with GCC or GPP or something else ? This is for compiling a cpp file of which I want the define in the bmx file. I've tried but it doesn't seem to work, unless I'm doing something wrong - which is usually the case :D

Cheers!


Brucey(Posted 2015) [#2]
You can use CC_OPTS.
I've also recently added C_OPTS and CPP_OPTS which support C and C++ file specific defines respectively.


col(Posted 2015) [#3]
Ahh excellent! Thank you.