summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorFred Baksik <fdk17@ftml.net>2021-11-15 18:15:12 (GMT)
committerFred Baksik <fdk17@ftml.net>2021-11-15 18:15:12 (GMT)
commitab6f0b51b110dabfeed231f9c5ed9e816f480335 (patch)
tree377c42671a673ca77a56c8a5f9423e2ccd3c35cf /Help
parenta55b5c4e188126cf73c3e0a25d39f10ed8fcbece (diff)
downloadCMake-ab6f0b51b110dabfeed231f9c5ed9e816f480335.zip
CMake-ab6f0b51b110dabfeed231f9c5ed9e816f480335.tar.gz
CMake-ab6f0b51b110dabfeed231f9c5ed9e816f480335.tar.bz2
GHS: Add note about -T and path style
If backslashes are used for CMAKE_GENERATOR_TOOLSET, then ctest processing will complain about COMP0010. For example: Syntax error in cmake code at C:/Users/XXX/test_bld/Tests/CTestTestfile.cmake:253 when parsing string C:\Users\XXX\bin_tools\XXX Invalid escape sequence \U Policy CMP0010 is not set: Bad variable reference syntax is an error. Run "cmake --help-policy CMP0010" for policy details. Use the cmake_policy command to set the policy and suppress this warning.
Diffstat (limited to 'Help')
-rw-r--r--Help/generator/Green Hills MULTI.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/Help/generator/Green Hills MULTI.rst b/Help/generator/Green Hills MULTI.rst
index 472f725..1b4739b 100644
--- a/Help/generator/Green Hills MULTI.rst
+++ b/Help/generator/Green Hills MULTI.rst
@@ -69,13 +69,16 @@ For example, setting a specific compiler:
* ``cmake -G "Green Hills MULTI" -T comp_201754`` for ``/usr/ghs/comp_201754``.
* ``cmake -G "Green Hills MULTI" -T comp_201754 -D GHS_TOOLSET_ROOT=/opt/ghs`` for ``/opt/ghs/comp_201754``.
* ``cmake -G "Green Hills MULTI" -T /usr/ghs/comp_201554``
-* ``cmake -G "Green Hills MULTI" -T C:\ghs\comp_201754``
+* ``cmake -G "Green Hills MULTI" -T C:/ghs/comp_201754``
For example, searching for latest compiler:
* ``cmake -G "Green Hills MULTI"`` for searching ``/usr/ghs``.
* ``cmake -G "Green Hills MULTI -D GHS_TOOLSET_ROOT=/opt/ghs"`` for searching ``/opt/ghs``.
+.. note::
+ The :variable:`CMAKE_GENERATOR_TOOLSET` should use CMake style paths.
+
OS and BSP Selection
^^^^^^^^^^^^^^^^^^^^