diff options
author | Brad King <brad.king@kitware.com> | 2021-04-16 15:39:21 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-04-16 15:39:28 (GMT) |
commit | bb290fc7a455d014429df452da0c05e83d4f9f34 (patch) | |
tree | fd1bf926683be95da21c449d6597c1a99046171b /Help/variable | |
parent | 16f213efa3786ecf8ebe15355f17890b54e56ac5 (diff) | |
parent | d5c3e4ac326328dd4ca48b12b27b11ea19d87363 (diff) | |
download | CMake-bb290fc7a455d014429df452da0c05e83d4f9f34.zip CMake-bb290fc7a455d014429df452da0c05e83d4f9f34.tar.gz CMake-bb290fc7a455d014429df452da0c05e83d4f9f34.tar.bz2 |
Merge topic 'add_toolchain_cmake_option'
d5c3e4ac32 cmake: add support for --toolchain command argument
13838bbb36 CMAKE_TOOLCHAIN_FILE: Document relative path behavior
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5991
Diffstat (limited to 'Help/variable')
-rw-r--r-- | Help/variable/CMAKE_TOOLCHAIN_FILE.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_TOOLCHAIN_FILE.rst b/Help/variable/CMAKE_TOOLCHAIN_FILE.rst index 168ee74..423da9c 100644 --- a/Help/variable/CMAKE_TOOLCHAIN_FILE.rst +++ b/Help/variable/CMAKE_TOOLCHAIN_FILE.rst @@ -7,3 +7,6 @@ This variable is specified on the command line when cross-compiling with CMake. It is the path to a file which is read early in the CMake run and which specifies locations for compilers and toolchain utilities, and other target platform and compiler related information. + +Relative paths are allowed and are interpreted first as relative to the +build directory, and if not found, relative to the soruce directory. |