Green Hills MULTI¶
New in version 3.3.
New in version 3.15: Linux support.
Generates Green Hills MULTI project files (experimental, work-in-progress).
Customizations are available through the following cache variables:
GHS_CUSTOMIZATIONGHS_GPJ_MACROS
New in version 3.14: The buildsystem has predetermined build-configuration settings that can be controlled
via the CMAKE_BUILD_TYPE variable.
Toolset and Platform Selection¶
New in version 3.13.
Customizations that are used to pick toolset and target system:
The
-A <arch>can be supplied for setting the target architecture.<arch>usually is one ofarm,ppc,86, etcetera. If the target architecture is not specified then the default architecture ofarmwill be used.The
-T <toolset>option can be used to set the directory location of the toolset. Both absolute and relative paths are valid. Relative paths useGHS_TOOLSET_ROOTas the root. If the toolset is not specified then the latest toolset found inGHS_TOOLSET_ROOTwill be used.
Cache variables that are used for toolset and target system customization:
GHS_TARGET_PLATFORMDefaults tointegrity.Usual values areintegrity,threadx,uvelosity,velosity,vxworks,standalone.GHS_PRIMARY_TARGETSetsprimaryTargetentry in project file.Defaults to<arch>_<GHS_TARGET_PLATFORM>.tgt.GHS_TOOLSET_ROOTRoot path fortoolsetsearches.Defaults toC:/ghsin Windows or/usr/ghsin Linux.GHS_OS_ROOTRoot path for RTOS searches.Defaults toC:/ghsin Windows or/usr/ghsin Linux.GHS_OS_DIRandGHS_OS_DIR_OPTIONSets-os_direntry in project file.Defaults to latest platform OS installation atGHS_OS_ROOT. Set this value if a specific RTOS is to be used.GHS_OS_DIR_OPTIONdefault value is-os_dir.New in version 3.15: The
GHS_OS_DIR_OPTIONvariable.GHS_BSP_NAMESets-bspentry in project file.Defaults tosim<arch>forintegrityplatforms.
Target Properties¶
New in version 3.14.
The following properties are available:
Note
This generator is deemed experimental as of CMake 3.20.3 and is still a work in progress. Future versions of CMake may make breaking changes as the generator matures.