Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: chikigai on September 12, 2006, 03:28:13 am

Title: Adding File Specific compile options
Post by: chikigai on September 12, 2006, 03:28:13 am
Hello,

I've tried searching the forums for a similar topic with no success.
Apologies if this has already been discussed.

I'm wondering if it is currently possible to add additional compile switches (more specifically -D's) for a specific file in a project in addition to the project's build options.

From my current knowledge, the only way to do this is to enter the whole compile command in the advanced properties of the file.

Thanks in advance,
Dan