User forums > Using Code::Blocks
Setting #define for project (not in Source Code)
duderino65:
Hi again,
I solved this for me with some changes in highlighting of the editor.
In the Compiler Settings I, anyway, added a define for FIRMWARE_CPU1. In the Settings of the editor I set the "Default (Inactive)" color to a darker gray. So my active code is black and the inactive is dark grey.
As I normally program in one project for both targets this solution is ok for me. I can see the deactivated code much clearer.
Kind regards
Andi
oBFusCATed:
Just disable this darkening and live a happy life. :)
Navigation
[0] Message Index
[*] Previous page
Go to full version