diff options
author | Brad King <brad.king@kitware.com> | 2022-05-17 12:57:48 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-05-17 12:57:55 (GMT) |
commit | a7cd15a61c5708ba50482ee485b4c102146861d0 (patch) | |
tree | d55e53a1b1085ed39f251fbf804a72c7fd2b09a8 /Help/release | |
parent | 20ed6f697e997f597b1e60d16edf711792e94965 (diff) | |
parent | a6562ff57908e6f03ef44eb0438ba9937f28174c (diff) | |
download | CMake-a7cd15a61c5708ba50482ee485b4c102146861d0.zip CMake-a7cd15a61c5708ba50482ee485b4c102146861d0.tar.gz CMake-a7cd15a61c5708ba50482ee485b4c102146861d0.tar.bz2 |
Merge topic 'try_compile-project-platform-vars'
a6562ff579 try_compile: Add option to skip passing platform variables
4843a37676 try_compile: Propagate platform variables in project-mode too
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !7265
Diffstat (limited to 'Help/release')
-rw-r--r-- | Help/release/dev/try_compile-project-platform-vars.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Help/release/dev/try_compile-project-platform-vars.rst b/Help/release/dev/try_compile-project-platform-vars.rst new file mode 100644 index 0000000..06596d4 --- /dev/null +++ b/Help/release/dev/try_compile-project-platform-vars.rst @@ -0,0 +1,10 @@ +try_compile-project-platform-vars +--------------------------------- + +* The :command:`try_compile` command + :ref:`whole-project <Try Compiling Whole Projects>` signature + now propagates platform variables. See policy :policy:`CMP0137`. + +* The :variable:`CMAKE_TRY_COMPILE_NO_PLATFORM_VARIABLES` variable + was added to tell the :command:`try_compile` command not to + pass any platform variables to the test project. |