summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_LANG_FLAGS_CONFIG.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-06-03 14:58:19 (GMT)
committerBrad King <brad.king@kitware.com>2021-06-03 15:02:27 (GMT)
commitccc83ce1623a90c9354a940370ed8c06d2fea30b (patch)
tree3412a589aa987dadd104c00d522cea15b44b7762 /Help/variable/CMAKE_LANG_FLAGS_CONFIG.rst
parentdf79fe055b010131737517c0169e4c82db42482a (diff)
downloadCMake-ccc83ce1623a90c9354a940370ed8c06d2fea30b.zip
CMake-ccc83ce1623a90c9354a940370ed8c06d2fea30b.tar.gz
CMake-ccc83ce1623a90c9354a940370ed8c06d2fea30b.tar.bz2
Help: Document order of flags from CMAKE_<LANG>_FLAGS and COMPILE_OPTIONS
Diffstat (limited to 'Help/variable/CMAKE_LANG_FLAGS_CONFIG.rst')
-rw-r--r--Help/variable/CMAKE_LANG_FLAGS_CONFIG.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_LANG_FLAGS_CONFIG.rst b/Help/variable/CMAKE_LANG_FLAGS_CONFIG.rst
index 1dbd036..f0900fd 100644
--- a/Help/variable/CMAKE_LANG_FLAGS_CONFIG.rst
+++ b/Help/variable/CMAKE_LANG_FLAGS_CONFIG.rst
@@ -2,3 +2,8 @@ CMAKE_<LANG>_FLAGS_<CONFIG>
---------------------------
Flags for language ``<LANG>`` when building for the ``<CONFIG>`` configuration.
+
+The flags in this variable will be passed to the compiler after those
+in the :variable:`CMAKE_<LANG>_FLAGS` variable, but before flags added
+by the :command:`add_compile_options` or :command:`target_compile_options`
+commands.