diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2015-04-07 18:10:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-04-07 19:01:18 (GMT) |
commit | 322cdc48252e17501866a7177e89ca20a3cb583b (patch) | |
tree | e0a1cd9f71c952b0bd1189b7d139aa5daa126954 /Help/manual | |
parent | 7ee897beec045761e796ac7468ed6e43cd58f1fe (diff) | |
download | CMake-322cdc48252e17501866a7177e89ca20a3cb583b.zip CMake-322cdc48252e17501866a7177e89ca20a3cb583b.tar.gz CMake-322cdc48252e17501866a7177e89ca20a3cb583b.tar.bz2 |
Help: Document supported compilers in cmake-compile-features.7
Extend sentences in other documentation linking to this manual to
say that it has a list of supported compilers.
Co-Author: Brad King <brad.king@kitware.com>
Diffstat (limited to 'Help/manual')
-rw-r--r-- | Help/manual/cmake-compile-features.7.rst | 14 | ||||
-rw-r--r-- | Help/manual/cmake-generator-expressions.7.rst | 2 |
2 files changed, 15 insertions, 1 deletions
diff --git a/Help/manual/cmake-compile-features.7.rst b/Help/manual/cmake-compile-features.7.rst index 7a6c249..46a5afb 100644 --- a/Help/manual/cmake-compile-features.7.rst +++ b/Help/manual/cmake-compile-features.7.rst @@ -295,3 +295,17 @@ the feature-appropriate include directory add_executable(consumer_no consumer_no.cpp) target_link_libraries(consumer_no foo) + +Supported Compilers +=================== + +CMake is currently aware of the :prop_tgt:`language standards <CXX_STANDARD>` +and :prop_gbl:`compile features <CMAKE_CXX_KNOWN_FEATURES>` available from +the following :variable:`compiler ids <CMAKE_<LANG>_COMPILER_ID>` as of the +versions specified for each: + +* ``AppleClang``: Apple Clang for Xcode versions 4.4 though 6.2. +* ``Clang``: Clang compiler versions 2.9 through 3.4. +* ``GNU``: GNU compiler versions 4.4 through 5.0. +* ``MSVC``: Microsoft Visual Studio versions 2010 through 2015. +* ``SunPro``: Oracle SolarisStudio version 12.4. diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst index 477a132..189c3ef 100644 --- a/Help/manual/cmake-generator-expressions.7.rst +++ b/Help/manual/cmake-generator-expressions.7.rst @@ -88,7 +88,7 @@ Available logical expressions are: increases the required :prop_tgt:`C_STANDARD` or :prop_tgt:`CXX_STANDARD` for the 'head' target, an error is reported. See the :manual:`cmake-compile-features(7)` manual for information on - compile features. + compile features and a list of supported compilers. ``$<COMPILE_LANGUAGE:lang>`` ``1`` when the language used for compilation unit matches ``lang``, otherwise ``0``. This expression used to specify compile options for |