CMake/Help/release
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
..
dev try_compile: Add policy CMP0066 to honor CMAKE_<LANG>_FLAGS_<CONFIG> 2016-06-29 09:11:02 -04:00
3.0.rst Help: Rename 3.x.0 release notes to 3.x 2015-02-05 09:50:56 -05:00
3.1.rst Help: Rename 3.x.0 release notes to 3.x 2015-02-05 09:50:56 -05:00
3.2.rst Merge topic 'private-FindJsonCpp' 2015-02-23 10:26:30 -05:00
3.3.rst Windows-GNU: Restore find_library treatment of '.dll' as linkable (#15409) 2015-06-08 10:16:18 -04:00
3.4.rst Help: Add release note about compile rule placeholder changes (#15787) 2015-10-13 11:44:59 -04:00
3.5.rst CMakeForceCompiler: De-deprecate until more use cases have alternatives 2016-02-17 09:15:18 -05:00
3.6.rst Revert "try_compile: Honor CMAKE_<LANG>_FLAGS_<CONFIG> changes" 2016-06-28 15:03:45 -04:00
dev.txt Help: Add documents to collect notes between releases 2014-02-04 11:48:54 -05:00
index.rst Begin post-3.6 development 2016-06-01 10:59:26 -04:00