summaryrefslogtreecommitdiffstats
path: root/Help/release/dev/try_compile-project-platform-vars.rst
blob: 06596d488265857acd112d0bcd7337145020b000 (plain)
1
2
3
4
5
6
7
8
9
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.