diff options
author | Brad King <brad.king@kitware.com> | 2021-06-03 14:58:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-06-03 15:02:27 (GMT) |
commit | ccc83ce1623a90c9354a940370ed8c06d2fea30b (patch) | |
tree | 3412a589aa987dadd104c00d522cea15b44b7762 /Help/variable/CMAKE_LANG_FLAGS_CONFIG.rst | |
parent | df79fe055b010131737517c0169e4c82db42482a (diff) | |
download | CMake-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.rst | 5 |
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. |