cmake/Help/generator/Green Hills MULTI.rst

70 lines
2.2 KiB
ReStructuredText
Raw Normal View History

2015-08-17 11:37:30 +02:00
Green Hills MULTI
-----------------
Generates Green Hills MULTI project files (experimental, work-in-progress).
2019-11-11 23:01:05 +01:00
The buildsystem has predetermined build-configuration settings that can be controlled
via the :variable:`CMAKE_BUILD_TYPE` variable.
2018-10-28 12:09:07 +01:00
Customizations that are used to pick toolset and target system:
The ``-A <arch>`` can be supplied for setting the target architecture.
2019-11-11 23:01:05 +01:00
``<arch>`` usually is one of ``arm``, ``ppc``, ``86``, etcetera.
If the target architecture is not specified then
the default architecture of ``arm`` will 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 use ``GHS_TOOLSET_ROOT``
as the root. If the toolset is not specified then the latest toolset found in
``GHS_TOOLSET_ROOT`` will be used.
2018-10-28 12:09:07 +01:00
2019-11-11 23:01:05 +01:00
Cache variables that are used for toolset and target system customization:
2018-10-28 12:09:07 +01:00
* ``GHS_TARGET_PLATFORM``
2019-11-11 23:01:05 +01:00
| Defaults to ``integrity``.
| Usual values are ``integrity``, ``threadx``, ``uvelosity``, ``velosity``,
``vxworks``, ``standalone``.
2018-10-28 12:09:07 +01:00
* ``GHS_PRIMARY_TARGET``
2019-11-11 23:01:05 +01:00
| Sets ``primaryTarget`` entry in project file.
| Defaults to ``<arch>_<GHS_TARGET_PLATFORM>.tgt``.
2018-10-28 12:09:07 +01:00
* ``GHS_TOOLSET_ROOT``
2019-11-11 23:01:05 +01:00
| Root path for ``toolset`` searches.
| Defaults to ``C:/ghs`` in Windows or ``/usr/ghs`` in Linux.
2018-10-28 12:09:07 +01:00
* ``GHS_OS_ROOT``
2019-11-11 23:01:05 +01:00
| Root path for RTOS searches.
| Defaults to ``C:/ghs`` in Windows or ``/usr/ghs`` in Linux.
2018-10-28 12:09:07 +01:00
2019-11-11 23:01:05 +01:00
* ``GHS_OS_DIR`` and ``GHS_OS_DIR_OPTION``
2018-10-28 12:09:07 +01:00
2019-11-11 23:01:05 +01:00
| Sets ``-os_dir`` entry in project file.
| Defaults to latest platform OS installation at ``GHS_OS_ROOT``. Set this value if
a specific RTOS is to be used.
| ``GHS_OS_DIR_OPTION`` default value is ``-os_dir``.
2015-08-17 11:37:30 +02:00
* ``GHS_BSP_NAME``
2018-10-28 12:09:07 +01:00
2019-11-11 23:01:05 +01:00
| Sets ``-bsp`` entry in project file.
| Defaults to ``sim<arch>`` for ``integrity`` platforms.
2018-10-28 12:09:07 +01:00
Customizations are available through the following cache variables:
2015-08-17 11:37:30 +02:00
* ``GHS_CUSTOMIZATION``
* ``GHS_GPJ_MACROS``
2019-11-11 23:01:05 +01:00
The following properties are available:
* :prop_tgt:`GHS_INTEGRITY_APP`
* :prop_tgt:`GHS_NO_SOURCE_GROUP_FILE`
2015-08-17 11:37:30 +02:00
.. note::
This generator is deemed experimental as of CMake |release|
and is still a work in progress. Future versions of CMake
may make breaking changes as the generator matures.