User forums > Using Code::Blocks

Variables are being ignored

(1/1)

bigbug:
Hello,
is it possible to make Code::Blocks interpret variables like $(CODEBLOCKS) in Settings->Compiler and debugger->Programs? Especially in the "Debugger" field e. g. the variable $(CODEBLOCKS) is being ingnored.

Thank you for this great IDE!  :D

Raijinsetsu:
Me want big big.
I've also been looking for this functionality. It makes project templates more flexible. Anyone who's worked with vis-studio has probably seen the "Output: '$(ProjectName).dll'" field in the compiler options. Takes out a lot of repition AND it allows easier renaming of output files.

thomas:

--- Quote from: Raijinsetsu on July 15, 2006, 03:34:10 pm ---Me want big big.
I've also been looking for this functionality. It makes project templates more flexible. Anyone who's worked with vis-studio has probably seen the "Output: '$(ProjectName).dll'" field in the compiler options. Takes out a lot of repition AND it allows easier renaming of output files.

--- End quote ---
This has nothing to do with the original topic, what you ask for has been supported for ages. In fact, Code::Blocks supported this before Visual Studio 2005 was released. :)

Compiler and debugger executable paths (OT) are a different thing, I am not sure if any kind of variable substitution is done in these at all (don't think so).

Navigation

[0] Message Index

Go to full version