A variable is defined like this
$name = "my string value"
Variables can be defined in both .xcpj and .xcpp files. A variable can be reassigned a new value. Currently variables can only be “invoked” from within string literals (meaning that the variable reference of the form $(name) is replaced with its current value within the string literal, rather like a macro substitution). Note that the brackets are used in a reference but not a definition of a variable. E.g.
+link
{
/OUT:"$(EXPORT)/$(PLATFORM)/$(CONFIG)/
$(PROJNAME).$(TGT_EXTENSION)"
}
The variables defined in the .xcpp file (but not the .xcpj file itself) are made available as macros to the Xcpp Macro Preprocessor by enclosing the variable name in underscores. E.g. there are macros named _EXPORT_ and _PLATFORM_.
The following variables are predefined: