Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: huzhongshan on July 17, 2013, 01:02:50 am

Title: How can I apply project defines setting to compile resource file?
Post by: huzhongshan on July 17, 2013, 01:02:50 am
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 ?
Title: Re: How can I apply project defines setting to compile resource file?
Post by: MortenMacFly on July 17, 2013, 06:59:16 am
Is there a better way to apply compile settings(#define) to compile resource file ?
No, but its on our TODO list.