summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-env-variables.7.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-06-03 12:32:44 (GMT)
committerBrad King <brad.king@kitware.com>2021-06-03 12:32:44 (GMT)
commit6c34ed9b879906d1eaadad80f37f518829017789 (patch)
tree45043b460fae481ff6592a7fc016e1b893431bc7 /Help/manual/cmake-env-variables.7.rst
parent9c33ff4dda643f8a93d55f9895e31dce9056134f (diff)
downloadCMake-6c34ed9b879906d1eaadad80f37f518829017789.zip
CMake-6c34ed9b879906d1eaadad80f37f518829017789.tar.gz
CMake-6c34ed9b879906d1eaadad80f37f518829017789.tar.bz2
cmake: Allow CMAKE_TOOLCHAIN_FILE to be set by environment variable
When no `CMAKE_TOOLCHAIN_FILE` is explicitly specified while creating a new build tree, check for an environment variable of the same name.
Diffstat (limited to 'Help/manual/cmake-env-variables.7.rst')
-rw-r--r--Help/manual/cmake-env-variables.7.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Help/manual/cmake-env-variables.7.rst b/Help/manual/cmake-env-variables.7.rst
index 8932abf..bfdc841 100644
--- a/Help/manual/cmake-env-variables.7.rst
+++ b/Help/manual/cmake-env-variables.7.rst
@@ -41,6 +41,7 @@ Environment Variables that Control the Build
/envvar/CMAKE_MSVCIDE_RUN_PATH
/envvar/CMAKE_NO_VERBOSE
/envvar/CMAKE_OSX_ARCHITECTURES
+ /envvar/CMAKE_TOOLCHAIN_FILE
/envvar/DESTDIR
/envvar/LDFLAGS
/envvar/MACOSX_DEPLOYMENT_TARGET