diff options
author | Brad King <brad.king@kitware.com> | 2018-03-12 17:42:12 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-03-12 17:42:18 (GMT) |
commit | 378a11cdbad6732971e91d5999f5788e26e35438 (patch) | |
tree | 395ba8383558a93a0a1f0e852a88a6427287805a /Help/manual | |
parent | 746ebaf563baa76613d6629a8d53cdeffb6d8a85 (diff) | |
parent | 7fec336bf72684d5b2610e7d6d6041f40c61e833 (diff) | |
download | CMake-378a11cdbad6732971e91d5999f5788e26e35438.zip CMake-378a11cdbad6732971e91d5999f5788e26e35438.tar.gz CMake-378a11cdbad6732971e91d5999f5788e26e35438.tar.bz2 |
Merge topic 'genex-TARGET_EXISTS'
7fec336bf7 genex: Add TARGET_EXISTS to check for target existence
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1829
Diffstat (limited to 'Help/manual')
-rw-r--r-- | Help/manual/cmake-generator-expressions.7.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst index 04cb1dc..d3514ab 100644 --- a/Help/manual/cmake-generator-expressions.7.rst +++ b/Help/manual/cmake-generator-expressions.7.rst @@ -59,6 +59,8 @@ Available logical expressions are: ``1`` if ``a`` is EQUAL ``b`` in a numeric comparison, else ``0`` ``$<IN_LIST:a,b>`` ``1`` if ``a`` is IN_LIST ``b``, else ``0`` +``$<TARGET_EXISTS:tgt>`` + ``1`` if ``tgt`` is an existed target name, else ``0``. ``$<CONFIG:cfg>`` ``1`` if config is ``cfg``, else ``0``. This is a case-insensitive comparison. The mapping in :prop_tgt:`MAP_IMPORTED_CONFIG_<CONFIG>` is also considered by |