summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-compile-features.7.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-03-04 14:29:12 (GMT)
committerBrad King <brad.king@kitware.com>2022-03-07 14:48:26 (GMT)
commitfbda79f39d3bab2ccf508ee328cf59d6e6d6c217 (patch)
treef5983cb5ec765206bc23fcfc44813fa3439d3fa6 /Help/manual/cmake-compile-features.7.rst
parent8074e46a5c5ec5b2316d8cc6f3330d139590e0a3 (diff)
downloadCMake-fbda79f39d3bab2ccf508ee328cf59d6e6d6c217.zip
CMake-fbda79f39d3bab2ccf508ee328cf59d6e6d6c217.tar.gz
CMake-fbda79f39d3bab2ccf508ee328cf59d6e6d6c217.tar.bz2
Help: Document explicitly that 'cxx_std_##' features may not add a flag
This is commonly reported incorrectly as a bug, so call out this behavior explicitly in the documentation.
Diffstat (limited to 'Help/manual/cmake-compile-features.7.rst')
-rw-r--r--Help/manual/cmake-compile-features.7.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Help/manual/cmake-compile-features.7.rst b/Help/manual/cmake-compile-features.7.rst
index 67b0f6e..8073511 100644
--- a/Help/manual/cmake-compile-features.7.rst
+++ b/Help/manual/cmake-compile-features.7.rst
@@ -115,6 +115,8 @@ of at-least C++ 11 (or C++ 14, C++ 17, ...), adding flags such as
``-std=gnu++11`` if necessary. This applies to sources within ``mylib``
as well as any dependents (that may include headers from ``mylib``).
+.. include:: ../prop_gbl/CMAKE_LANG_STD_FLAGS.txt
+
Availability of Compiler Extensions
-----------------------------------