3.11 Using Global Compiler Variables

CodeBlocks

[Contents] CodeBlocks Manual   [Search] Search

[Table of contents]

3.11 Using Global Compiler Variables


All you need to do for using global compiler variables is to put them in your project! Yes, it’s that easy.
When the IDE detects the presence of an unknown global variable, it will prompt you to enter its value. The value will be saved in your settings, so you never need to enter the information twice.
If you need to modify or delete a variable at a later time, you can do so from the settings menu.
Example

[Figure # 50]
Figure 3.2: Global Variables

The above image shows both per-project and global variables. WX_SUFFIX is defined in the project, but WX is a global user variable.


[Previous] 3.10  Constraints
[Next] 3.12  Variable Sets

Created: 2010/25/05 11:52   Updated: 2010/25/05 11:52
Author: HighTec EDV-Systeme GmbH
Copyright © 2010 HighTec EDV-Systeme GmbH