diff options
author | Robert Maynard <rmaynard@nvidia.com> | 2021-04-07 18:24:14 (GMT) |
---|---|---|
committer | Robert Maynard <rmaynard@nvidia.com> | 2021-04-15 14:13:49 (GMT) |
commit | d5c3e4ac326328dd4ca48b12b27b11ea19d87363 (patch) | |
tree | 45d0f8e2a50582be6c89885fa52f36bb68d9080c /Help/manual/cmake-toolchains.7.rst | |
parent | 13838bbb36dbfeb36243d661378732672477ac8a (diff) | |
download | CMake-d5c3e4ac326328dd4ca48b12b27b11ea19d87363.zip CMake-d5c3e4ac326328dd4ca48b12b27b11ea19d87363.tar.gz CMake-d5c3e4ac326328dd4ca48b12b27b11ea19d87363.tar.bz2 |
cmake: add support for --toolchain command argument
Diffstat (limited to 'Help/manual/cmake-toolchains.7.rst')
-rw-r--r-- | Help/manual/cmake-toolchains.7.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/manual/cmake-toolchains.7.rst b/Help/manual/cmake-toolchains.7.rst index 1ededee..a941310 100644 --- a/Help/manual/cmake-toolchains.7.rst +++ b/Help/manual/cmake-toolchains.7.rst @@ -96,8 +96,8 @@ Cross Compiling =============== If :manual:`cmake(1)` is invoked with the command line parameter -``-DCMAKE_TOOLCHAIN_FILE=path/to/file``, the file will be loaded early to set -values for the compilers. +``--toolchain path/to/file`` or ``-DCMAKE_TOOLCHAIN_FILE=path/to/file``, 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. |