User forums > Using Code::Blocks
Constant definitions for debug, release etc
killerbot:
either you just define it, aka value doesn't matter :
--- Code: ---DEBUG
--- End code ---
or you give it a value
--- Code: ---DEBUG=1
--- End code ---
scarphin:
Ok got it. Maybe because I'm a noob but the work u have done with codeblocks still continues to impress me in every detail. ;) Thnx...
killerbot:
fyi : the common convention is in the release build to define NDEBUG, and don't define anything in debug build.
scarphin:
Yup I know, I guess it's because of the 'assert' macro. ;) Thnx anyway.
Navigation
[0] Message Index
[*] Previous page
Go to full version