User forums > General (but related to Code::Blocks)
How can I apply project defines setting to compile resource file?
(1/1)
huzhongshan:
In project -> build options ->compiler settings -> #defines, I set something in it . When compile cpp files , it works ( gcc -Dxxxx -Dxxx) , but when compile resource file (in windows) , it doesnot work. I have to create custom var and use custom build , likes $rescomp $res_includes $MY_DEF -J rc -O coff -i $file -o $resource_output.
Is there a better way to apply compile settings(#define) to compile resource file ?
MortenMacFly:
--- Quote from: huzhongshan on July 17, 2013, 01:02:50 am ---Is there a better way to apply compile settings(#define) to compile resource file ?
--- End quote ---
No, but its on our TODO list.
Navigation
[0] Message Index
Go to full version