Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: fubo on October 20, 2010, 07:22:22 pm
-
Hi,
I would want to define some variables at workspace level that can be used at project level for example for name building. For example, I would want a project to be renamed depending on the workspace in which it is included. I tried variables sets, but they are defined at configuration level and not selectable at workspace level but at project level.
Could someone help me?
Regards.
-
I am working with the idea that Code::Blocks does NOT do what you want.
You might have some replies saying it works somehow to do what you want; but, I have no idea how to do what you wanted to do(Unless Global Variables solves the problem).
You did try Global Variables, right?
http://wiki.codeblocks.org/index.php?title=Global_compiler_variables
If so, then you need to patch the code to do what you want.
See Wiki on How to Compile Code::Blocks from source
http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows
Tim S.
-
I know, I saw there is no way to do that... :(
BTW is there a reference for XML codes available for .workspace and .cbp files?