CMake/Help/release/dev
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
..
0-sample-topic.rst Begin post-3.6 development 2016-06-01 10:59:26 -04:00
FindOpenCL-imported-target.rst FindOpenCL: Add an imported target 2016-06-02 08:46:43 -04:00
FindVulkan.rst Add FindVulkan.cmake. 2016-06-08 12:44:03 -04:00
GenerateExportHeader-custom-content.rst GenerateExportHeader: Add option to specify custom content 2016-06-28 09:43:52 -04:00
aix-clang.rst AIX: Add support for Clang compiler 2016-06-20 09:59:31 -04:00
cmake-trace-source.rst cmake: Add an option to control what files needs to be traced 2016-06-17 11:46:23 -04:00
find-lib32.rst Teach find_library and find_package to search lib32 paths (#11260) 2016-06-10 11:09:16 -04:00
java-export-targets.rst Help: Add notes for topic 'java-export-targets' 2016-06-07 08:50:36 -04:00
link_what_you_use.rst Help: Add notes for topic 'link_what_you_use' 2016-06-17 11:01:22 -04:00
productbuild.rst Help: Add notes for 'productbuild' topic 2016-06-06 09:25:39 -04:00
try_compile-config-flags.rst try_compile: Add policy CMP0066 to honor CMAKE_<LANG>_FLAGS_<CONFIG> 2016-06-29 09:11:02 -04:00
vs-sdk-refs.rst VS: Add VS_SDK_REFERENCES target property to reference external SDKs 2016-06-22 08:34:12 -04:00
vs-tool-override.rst VS: Add a VS_TOOL_OVERRIDE source file property 2016-06-20 10:46:14 -04:00
xcode-file-attributes.rst Help: Add release note about XCODE_FILE_ATTRIBUTES source file property 2016-06-17 10:53:59 -04:00