User forums > Using Code::Blocks

defining your own variables

(1/2) > >>

DoMeN:
Is it possible to define your own variabls in code::blocks that vould be used in Tools and that would have to be defined in every project with a different string?
Something like: $(VAR) = /path/path
Tools: parameters: $(VAR)

thomas:
Yes, under the second tab counting from the right, both in build options and compiler options.

DoMeN:
If you meen Settings->Compiler and debuger->Costum variables?
If I add a variable in there then when I press the button Ok in "Compiler and debuger settings" form than code::blocks terminates :(

Pecan:

--- Quote from: DoMeN on November 04, 2006, 02:30:08 am ---If you meen Settings->Compiler and debuger->Costum variables?
If I add a variable in there then when I press the button Ok in "Compiler and debuger settings" form than code::blocks terminates :(

--- End quote ---

Works for me: Version 1.0 revision 3139 (2006-10-24 08:52:45)   gcc 3.4.4 Windows/unicode

Would you please mention in your messages the full CodeBlocks version you're using and the system you're running.
You can find this info in the menu item Help/About/Information. Or, with a double click, copy the "Start Here" page "Version" banner to the clipboard.

stahta01:
What is the name of the custom variables? You may be picking one that causes it to crash. Also, what is the value?

Tim S

Navigation

[0] Message Index

[#] Next page

Go to full version