diff options
author | Brad King <brad.king@kitware.com> | 2018-09-17 13:24:55 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-09-17 13:25:03 (GMT) |
commit | 7bf9796f3d0170f35c674635c9a274b982ba5436 (patch) | |
tree | 7c095acd4d6af1bdef89eba94fbdf07385cbea65 | |
parent | a6ae99ebbe01350f46d8540cc8b792bc6c1cc3d6 (diff) | |
parent | e3f9ea8616966b4f71e75a7ce8484ab6e398eb25 (diff) | |
download | CMake-7bf9796f3d0170f35c674635c9a274b982ba5436.zip CMake-7bf9796f3d0170f35c674635c9a274b982ba5436.tar.gz CMake-7bf9796f3d0170f35c674635c9a274b982ba5436.tar.bz2 |
Merge topic 'docs/gen-see-also'
e3f9ea8616 docs: add some 'see also' helper texts
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2381
-rw-r--r-- | Help/manual/cmake-generator-expressions.7.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst index c3428d1..76fd3d9 100644 --- a/Help/manual/cmake-generator-expressions.7.rst +++ b/Help/manual/cmake-generator-expressions.7.rst @@ -68,10 +68,13 @@ Available logical expressions are: target. ``$<PLATFORM_ID:comp>`` ``1`` if the CMake-id of the platform matches ``comp``, otherwise ``0``. + See also the :variable:`CMAKE_SYSTEM_NAME` variable. ``$<C_COMPILER_ID:comp>`` ``1`` if the CMake-id of the C compiler matches ``comp``, otherwise ``0``. + See also the :variable:`CMAKE_<LANG>_COMPILER_ID` variable. ``$<CXX_COMPILER_ID:comp>`` ``1`` if the CMake-id of the CXX compiler matches ``comp``, otherwise ``0``. + See also the :variable:`CMAKE_<LANG>_COMPILER_ID` variable. ``$<VERSION_LESS:v1,v2>`` ``1`` if ``v1`` is a version less than ``v2``, else ``0``. ``$<VERSION_GREATER:v1,v2>`` @@ -84,8 +87,10 @@ Available logical expressions are: ``1`` if ``v1`` is a version greater than or equal to ``v2``, else ``0``. ``$<C_COMPILER_VERSION:ver>`` ``1`` if the version of the C compiler matches ``ver``, otherwise ``0``. + See also the :variable:`CMAKE_<LANG>_COMPILER_VERSION` variable. ``$<CXX_COMPILER_VERSION:ver>`` ``1`` if the version of the CXX compiler matches ``ver``, otherwise ``0``. + See also the :variable:`CMAKE_<LANG>_COMPILER_VERSION` variable. ``$<TARGET_POLICY:pol>`` ``1`` if the policy ``pol`` was NEW when the 'head' target was created, else ``0``. If the policy was not set, the warning message for the policy |