diff options
author | Fred Baksik <frodak17@gmail.com> | 2019-01-09 04:52:12 (GMT) |
---|---|---|
committer | Fred Baksik <frodak17@gmail.com> | 2019-01-16 15:42:00 (GMT) |
commit | 436cc5e991c7be07610d7902a5ce2a00221ca0a2 (patch) | |
tree | 912fdd8810121d1bc39520340b999c6c7c9ed7c0 /Help | |
parent | 4a1ec0de3d2102918284eff13763f2aa3d20d119 (diff) | |
download | CMake-436cc5e991c7be07610d7902a5ce2a00221ca0a2.zip CMake-436cc5e991c7be07610d7902a5ce2a00221ca0a2.tar.gz CMake-436cc5e991c7be07610d7902a5ce2a00221ca0a2.tar.bz2 |
GHS: try_compile() now uses GHS platform variables
-- Forward GHS platform variables to try_compile()
CMAKE_TRY_COMPILE_PLATFORM_VARIABLES only worked for source signature try_compile()
-- Update tests to no longer add GHS platform variables to try_compile()
-- Avoid linker error in GhsMulti/GhsMultiCompilerOptions/CMakeLists.txt by building library
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/try_compile.rst | 3 | ||||
-rw-r--r-- | Help/generator/Green Hills MULTI.rst | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Help/command/try_compile.rst b/Help/command/try_compile.rst index cf9e06f..77f42a1 100644 --- a/Help/command/try_compile.rst +++ b/Help/command/try_compile.rst @@ -168,3 +168,6 @@ then the language standard variables are honored: Their values are used to set the corresponding target properties in the generated project (unless overridden by an explicit option). + +For the :generator:`Green Hills MULTI` generator the GHS toolset and target +system customization cache variables are also propagated into the test project. diff --git a/Help/generator/Green Hills MULTI.rst b/Help/generator/Green Hills MULTI.rst index 2794598..bfe671f 100644 --- a/Help/generator/Green Hills MULTI.rst +++ b/Help/generator/Green Hills MULTI.rst @@ -17,13 +17,14 @@ Both absolute and relative paths are valid. Relative paths use ``GHS_TOOLSET_ROO as the root. If the toolset is not specified then the latest toolset found in ``GHS_TOOLSET_ROOT`` will be used. +Cache variables that are used for toolset and target system customization: + * ``GHS_TARGET_PLATFORM`` | Defaults to ``integrity``. | Usual values are ``integrity``, ``threadx``, ``uvelosity``, ``velosity``, ``vxworks``, ``standalone``. - * ``GHS_PRIMARY_TARGET`` | Sets ``primaryTarget`` entry in project file. |