User forums > Using Code::Blocks
How to deliver options to resource compiler ?
grv575:
The #defines tab is the proper place to define preprocessor flags (-Dflag), regardless of the tool which handles preprocessing (gcc or windres). I don't see why putting GCC_WINDRES here wouldn't not be the right thing to do, as other stages shouldn't be checking for that flag anyway.
jimp:
--- Quote from: grv575 on December 22, 2005, 02:05:54 am ---The #defines tab is the proper place to define preprocessor flags (-Dflag), regardless of the tool which handles preprocessing (gcc or windres).
--- End quote ---
Options in the #defines tab are not passed to the resource compiler(windres). They are passed only to the source code compiler(g++).
Navigation
[0] Message Index
[*] Previous page
Go to full version