CMake/Help/release
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
..
dev Honor CMAKE_<LANG>_FLAGS[_<CONFIG>]_INIT set in toolchain files 2016-07-06 10:13:31 -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