[Cmake-commits] CMake branch, next, updated. v3.6.0-rc3-536-g76e61c4
Gregor Jasny
gjasny at googlemail.com
Sat Jun 25 08:28:04 EDT 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 76e61c487c40540d7a7bd58a4aaf375d4241b09a (commit)
via 7c3610bebb186a62583783fa6a7cf53475f0b6a7 (commit)
from 7a0201ef70ea7b405dfb275fd117bc2419e7e27e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=76e61c487c40540d7a7bd58a4aaf375d4241b09a
commit 76e61c487c40540d7a7bd58a4aaf375d4241b09a
Merge: 7a0201e 7c3610b
Author: Gregor Jasny <gjasny at googlemail.com>
AuthorDate: Sat Jun 25 08:28:00 2016 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Sat Jun 25 08:28:00 2016 -0400
Merge topic '16162-cross-reference-doc' into next
7c3610be Help: Cross reference CXX_STANDARD and CXX_EXTENSIONS (#16162)
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7c3610bebb186a62583783fa6a7cf53475f0b6a7
commit 7c3610bebb186a62583783fa6a7cf53475f0b6a7
Author: Gregor Jasny <gjasny at googlemail.com>
AuthorDate: Sat Jun 25 14:23:56 2016 +0200
Commit: Gregor Jasny <gjasny at googlemail.com>
CommitDate: Sat Jun 25 14:23:56 2016 +0200
Help: Cross reference CXX_STANDARD and CXX_EXTENSIONS (#16162)
diff --git a/Help/prop_tgt/CXX_EXTENSIONS.rst b/Help/prop_tgt/CXX_EXTENSIONS.rst
index 0f547e29..280bb3a 100644
--- a/Help/prop_tgt/CXX_EXTENSIONS.rst
+++ b/Help/prop_tgt/CXX_EXTENSIONS.rst
@@ -6,7 +6,8 @@ Boolean specifying whether compiler specific extensions are requested.
This property specifies whether compiler specific extensions should be
used. For some compilers, this results in adding a flag such
as ``-std=gnu++11`` instead of ``-std=c++11`` to the compile line. This
-property is ``ON`` by default.
+property is ``ON`` by default. The basic C++ standard level is
+controlled by the :prop_tgt:`CXX_STANDARD` target property.
See the :manual:`cmake-compile-features(7)` manual for information on
compile features and a list of supported compilers.
diff --git a/Help/prop_tgt/CXX_STANDARD.rst b/Help/prop_tgt/CXX_STANDARD.rst
index edc9ba5..37c3e5a 100644
--- a/Help/prop_tgt/CXX_STANDARD.rst
+++ b/Help/prop_tgt/CXX_STANDARD.rst
@@ -21,7 +21,9 @@ means that using:
with a compiler which does not support ``-std=gnu++11`` or an equivalent
flag will not result in an error or warning, but will instead add the
``-std=gnu++98`` flag if supported. This "decay" behavior may be controlled
-with the :prop_tgt:`CXX_STANDARD_REQUIRED` target property.
+with the :prop_tgt:`CXX_STANDARD_REQUIRED` target property. Eventually available
+compiler extensions for the requested standard could be controlled with the
+:prop_tgt:`CXX_EXTENSIONS` target property.
See the :manual:`cmake-compile-features(7)` manual for information on
compile features and a list of supported compilers.
diff --git a/Help/prop_tgt/C_EXTENSIONS.rst b/Help/prop_tgt/C_EXTENSIONS.rst
index fce67f4..05b14ce 100644
--- a/Help/prop_tgt/C_EXTENSIONS.rst
+++ b/Help/prop_tgt/C_EXTENSIONS.rst
@@ -6,7 +6,8 @@ Boolean specifying whether compiler specific extensions are requested.
This property specifies whether compiler specific extensions should be
used. For some compilers, this results in adding a flag such
as ``-std=gnu11`` instead of ``-std=c11`` to the compile line. This
-property is ``ON`` by default.
+property is ``ON`` by default. The basic C standard level is
+controlled by the :prop_tgt:`C_STANDARD` target property.
See the :manual:`cmake-compile-features(7)` manual for information on
compile features and a list of supported compilers.
diff --git a/Help/prop_tgt/C_STANDARD.rst b/Help/prop_tgt/C_STANDARD.rst
index 5e36821..52c4a34 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.
+Eventually available compiler extensions for the requested standard could be
+controlled with the :prop_tgt:`C_EXTENSIONS` target property.
See the :manual:`cmake-compile-features(7)` manual for information on
compile features and a list of supported compilers.
-----------------------------------------------------------------------
Summary of changes:
Help/prop_tgt/CXX_EXTENSIONS.rst | 3 ++-
Help/prop_tgt/CXX_STANDARD.rst | 4 +++-
Help/prop_tgt/C_EXTENSIONS.rst | 3 ++-
Help/prop_tgt/C_STANDARD.rst | 2 ++
4 files changed, 9 insertions(+), 3 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list