CMake/Help/policy
Brad King d582c23a47 try_compile: Add policy CMP0066 to honor CMAKE_<LANG>_FLAGS_<CONFIG>
In the `try_compile` source file signature we propagate the caller's
value of `CMAKE_<LANG>_FLAGS` into the test project.  Extend this to
propagate `CMAKE_<LANG>_FLAGS_<CONFIG>` too instead of always using the
default value in the test project.  This will be useful, for example, to
allow the MSVC runtime library to be changed (e.g. `-MDd` => `-MTd`).
However, some projects may currently depend on this not being done,
so we need to activate the behavior using a policy.

This change was originally made by commit v3.6.0-rc1~160^2 (try_compile:
Honor CMAKE_<LANG>_FLAGS_<CONFIG> changes, 2016-04-11) but without the
policy and so had to be reverted during the 3.6 release candidate cycle.

Fixes #16174.
2016-06-29 09:11:02 -04:00
..
CMP0000.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0001.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0002.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0003.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0004.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0005.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0006.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0007.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0008.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0009.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0010.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0011.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0012.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0013.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0014.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0015.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0016.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0017.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0018.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0019.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0020.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0021.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0022.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0023.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0024.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0025.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0026.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0027.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0028.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0029.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0030.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0031.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0032.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0033.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0034.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0035.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0036.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0037.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0038.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0039.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0040.rst Help: Clarify policy `CMP0040` documentation (#15681) 2016-01-28 10:13:18 -05:00
CMP0041.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0042.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0043.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0044.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0045.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0046.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0047.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0048.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0049.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0050.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0051.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0052.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0053.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0054.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0055.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0056.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0057.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0058.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0059.rst CMP0059: Fix typo in policy description 2016-05-02 15:16:07 -04:00
CMP0060.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0061.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0062.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0063.rst Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
CMP0064.rst if: Add "TEST <test>" condition 2015-08-03 09:22:25 -04:00
CMP0065.rst CMP0065: Restrict the use of CMAKE_SHARED_LIBRARY_LINK_<LANG>_FLAGS 2015-09-21 10:12:13 -04:00
CMP0066.rst try_compile: Add policy CMP0066 to honor CMAKE_<LANG>_FLAGS_<CONFIG> 2016-06-29 09:11:02 -04:00
DEPRECATED.txt Help: Document explicitly that policy OLD behavior is deprecated 2015-06-09 09:29:41 -04:00
DISALLOWED_COMMAND.txt Add infrastructure for policies that disallow commands 2013-10-22 09:09:51 -04:00