diff options
author | Marc Chevrier <marc.chevrier@sap.com> | 2018-01-29 10:44:54 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@sap.com> | 2018-02-07 09:57:18 (GMT) |
commit | 5089f560e706733084d8c9bae34778a31dfe3110 (patch) | |
tree | 3c51b8f93c3ad26caf83391078c04257082656db /Help/manual/cmake-generator-expressions.7.rst | |
parent | 5656ebc87cab02762d242326c6e5397393e671d7 (diff) | |
download | CMake-5089f560e706733084d8c9bae34778a31dfe3110.zip CMake-5089f560e706733084d8c9bae34778a31dfe3110.tar.gz CMake-5089f560e706733084d8c9bae34778a31dfe3110.tar.bz2 |
Genex: Add IN_LIST logical operator
Implements #17679
Diffstat (limited to 'Help/manual/cmake-generator-expressions.7.rst')
-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 0f6d4cf..149ec4b 100644 --- a/Help/manual/cmake-generator-expressions.7.rst +++ b/Help/manual/cmake-generator-expressions.7.rst @@ -57,6 +57,8 @@ Available logical expressions are: ``1`` if ``a`` is STREQUAL ``b``, else ``0`` ``$<EQUAL:a,b>`` ``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`` ``$<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 |