summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/C_STANDARD.rst
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2016-06-25 14:23:56 +0200
committerBrad King <brad.king@kitware.com>2016-06-28 09:14:00 -0400
commitc6a077d6980ea164578b7544c852ddf1e8a8a35b (patch)
tree2548326f25ed91c0af83c1a2be78a72b6d4aa4f6 /Help/prop_tgt/C_STANDARD.rst
parentd152ae123d1a3df456fe24f2e1a06d97083ad2d2 (diff)
downloadcmake-c6a077d6980ea164578b7544c852ddf1e8a8a35b.tar.gz
Help: Cross reference CXX_STANDARD and CXX_EXTENSIONS (#16162)
Diffstat (limited to 'Help/prop_tgt/C_STANDARD.rst')
-rw-r--r--Help/prop_tgt/C_STANDARD.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Help/prop_tgt/C_STANDARD.rst b/Help/prop_tgt/C_STANDARD.rst
index 5e36821862..815a686760 100644
--- a/Help/prop_tgt/C_STANDARD.rst
+++ b/Help/prop_tgt/C_STANDARD.rst
@@ -22,6 +22,8 @@ with a compiler which does not support ``-std=gnu11`` or an equivalent
flag will not result in an error or warning, but will instead add the
``-std=gnu99`` or ``-std=gnu90`` flag if supported. This "decay" behavior may
be controlled with the :prop_tgt:`C_STANDARD_REQUIRED` target property.
+Additionally, the :prop_tgt:`C_EXTENSIONS` target property may be used to
+control whether compiler-specific extensions are enabled on a per-target basis.
See the :manual:`cmake-compile-features(7)` manual for information on
compile features and a list of supported compilers.