diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2022-08-12 23:43:37 (GMT) |
---|---|---|
committer | Alex Turbov <i.zaufi@gmail.com> | 2022-08-14 05:58:42 (GMT) |
commit | 1b94770f270212f475bacfe2e31e11d4806aa80e (patch) | |
tree | 39ea35f8223b85f17fbcca3e1cd030a3863de1a4 /Help/manual | |
parent | 2c54cd871af3856ea92358df87ae7126fd12bbf9 (diff) | |
download | CMake-1b94770f270212f475bacfe2e31e11d4806aa80e.zip CMake-1b94770f270212f475bacfe2e31e11d4806aa80e.tar.gz CMake-1b94770f270212f475bacfe2e31e11d4806aa80e.tar.bz2 |
Help: Insert link to `cmake --toolchain` option
Diffstat (limited to 'Help/manual')
-rw-r--r-- | Help/manual/cmake-toolchains.7.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/manual/cmake-toolchains.7.rst b/Help/manual/cmake-toolchains.7.rst index e194df0..7fa73e7 100644 --- a/Help/manual/cmake-toolchains.7.rst +++ b/Help/manual/cmake-toolchains.7.rst @@ -96,7 +96,8 @@ Cross Compiling =============== If :manual:`cmake(1)` is invoked with the command line parameter -``--toolchain path/to/file`` or ``-DCMAKE_TOOLCHAIN_FILE=path/to/file``, the +:option:`--toolchain path/to/file <cmake --toolchain>` or +:option:`-DCMAKE_TOOLCHAIN_FILE=path/to/file <cmake -D>`, the file will be loaded early to set values for the compilers. The :variable:`CMAKE_CROSSCOMPILING` variable is set to true when CMake is cross-compiling. |