3.1 Syntax

CodeBlocks

[Contents] CodeBlocks Manual   [Search] Search

[Table of contents]

3.1 Syntax


CodeBlocks treats the following functionally identical character sequences inside pre-build, post-build, or build steps as variables:
  • $VARIABLE
  • $(VARIABLE)
  • ${VARIABLE}
  • %VARIABLE%
Variable names must consist of alphanumeric characters and are not case-sensitive. Variables starting with a single hash sign (#) are interpreted as global user variables (see section 3.7 for details). The names listed below are interpreted as built-in types.
Variables which are neither global user variables nor built-in types, will be replaced with a value provided in the project file, or with an environment variable if the latter should fail.
Note:
Per-target definitions have precedence over per-project definitions.


[Previous] 3  Variable Expansion
[Next] 3.2  List of available built-ins

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