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 ?