Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: bigbug on July 13, 2006, 06:03:37 pm

Title: Variables are being ignored
Post by: bigbug on July 13, 2006, 06:03:37 pm
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
Title: Re: Variables are being ignored
Post by: 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.
Title: Re: Variables are being ignored
Post by: thomas on July 15, 2006, 11:37:06 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.
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).