summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-07-10 14:51:52 (GMT)
committerBrad King <brad.king@kitware.com>2014-07-14 13:35:23 (GMT)
commit5690a963e92f4b5d04b348bb3b2cefe6a9cfec9a (patch)
treed370a8495a8c74afb66caa2827266ec24298fe79 /Help
parent7e5c9c152677d397d03b8573f16225359171201a (diff)
downloadCMake-5690a963e92f4b5d04b348bb3b2cefe6a9cfec9a.zip
CMake-5690a963e92f4b5d04b348bb3b2cefe6a9cfec9a.tar.gz
CMake-5690a963e92f4b5d04b348bb3b2cefe6a9cfec9a.tar.bz2
Help: Link to variables corresponding to id and version expressions (#15012)
In the cmake-generator-expressions(7) manual, link to the variables that correspond to the PLATFORM_ID, C_COMPILER_ID, CXX_COMPILER_ID, C_COMPILER_VERSION, and CXX_COMPILER_VERSION generator expressions.
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-generator-expressions.7.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst
index f04702e..9e82674 100644
--- a/Help/manual/cmake-generator-expressions.7.rst
+++ b/Help/manual/cmake-generator-expressions.7.rst
@@ -116,15 +116,20 @@ than 4.2.0.
``$<CONFIG>``
Configuration name
``$<PLATFORM_ID>``
- The CMake-id of the platform
+ The CMake-id of the platform.
+ See also the :variable:`CMAKE_SYSTEM_NAME` variable.
``$<C_COMPILER_ID>``
The CMake-id of the C compiler used.
+ See also the :variable:`CMAKE_<LANG>_COMPILER_ID` variable.
``$<CXX_COMPILER_ID>``
The CMake-id of the CXX compiler used.
+ See also the :variable:`CMAKE_<LANG>_COMPILER_ID` variable.
``$<C_COMPILER_VERSION>``
The version of the C compiler used.
+ See also the :variable:`CMAKE_<LANG>_COMPILER_VERSION` variable.
``$<CXX_COMPILER_VERSION>``
The version of the CXX compiler used.
+ See also the :variable:`CMAKE_<LANG>_COMPILER_VERSION` variable.
``$<TARGET_FILE:tgt>``
Full path to main file (.exe, .so.1.2, .a) where ``tgt`` is the name of a target.
``$<TARGET_FILE_NAME:tgt>``