Predefined LISA+ symbols and macros
ARM defines these preprocessor version symbols for all LISA+ files in all scopes, for Fast Model Tools versions greater than or equal to 2.2.024, but not for earlier versions.
SYSTEM_GENERATOR_MAJOR_VERSION
SYSTEM_GENERATOR_MINOR_VERSION
SYSTEM_GENERATOR_REVISION
SYSTEM_GENERATOR_VERSION
"2.3.044"
for version
2.3.044.SYSTEM_GENERATOR_VERSION_AT_LEAST
(major
,minor
,revision
)
true
(1) if the Fast Model Tools version is at least
.major
.minor
.revision
For example, SYSTEM_GENERATOR_AT_LEAST(2,1,57)
evaluates to 1 for SimGen 2.3.044
because 2.3.044 is greater than 2.1.057.
SYSTEM_GENERATOR_VERSION_EQUALS(major
,minor
,revision
)
true
(1) if the Fast Model Tools version is exactly
major
.minor
.revision
.linux
true
(1) if parsing LISA+ files or
generating a simulator on Linux host systems. ARM does not define it on other host
platforms.WIN32
true
(1) if parsing LISA+ files or
generating a simulator on Windows host systems. ARM does not define it on other host
platforms.ARM does not define preprocessor symbols that C/C++ compilers typically predefine on
certain host platforms for LISA+ files, not even in
behavior bodies. For example, ARM does not define the symbols __cplusplus
or __GNUC__
for the preprocessing of LISA+ files. However, you
can set preprocessor symbols manually in the project settings for specific host
platforms.