CMake/Help/release/dev
Brad King a66004bee0 Honor CMAKE_<LANG>_FLAGS[_<CONFIG>]_INIT set in toolchain files
Document these variables.

Change our convention for setting these variables from:

    set(CMAKE_C_FLAGS_INIT "...")

to

    string(APPEND CMAKE_C_FLAGS_INIT " ...")

so that any value previously set by a toolchain file will be used.

Automate the conversion with:

    sed -i 's/set *(\(CMAKE_\(C\|CXX\|Fortran\|RC\|ASM\|${[^}]\+}\)_FLAGS\(_[^_]\+\)\?_INIT \+"\)/string(APPEND \1 /' \
      Modules/Compiler/*.cmake Modules/Platform/*.cmake

and follow up with some manual fixes (e.g. to cases that already
meant to append).  Also revert the automated changes to contexts
that are not protected from running multiple times.
2016-07-06 10:13:31 -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
toolchain-flag-init.rst Honor CMAKE_<LANG>_FLAGS[_<CONFIG>]_INIT set in toolchain files 2016-07-06 10:13:31 -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