diff options
author | Brad King <brad.king@kitware.com> | 2018-02-16 14:22:38 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-02-16 14:22:56 (GMT) |
commit | d97c9ffb6c7189d5e617c1d69e8fe168e7813293 (patch) | |
tree | a463c059e1f7479dee31732fd32c75f89f228d14 /Help | |
parent | 269722ae5b458c6e925c35fdebf5c8f35b3a182c (diff) | |
parent | 5089f560e706733084d8c9bae34778a31dfe3110 (diff) | |
download | CMake-d97c9ffb6c7189d5e617c1d69e8fe168e7813293.zip CMake-d97c9ffb6c7189d5e617c1d69e8fe168e7813293.tar.gz CMake-d97c9ffb6c7189d5e617c1d69e8fe168e7813293.tar.bz2 |
Merge topic 'genex-IN_LIST-operator'
5089f560 Genex: Add IN_LIST logical operator
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1724
Diffstat (limited to 'Help')
-rw-r--r-- | Help/manual/cmake-generator-expressions.7.rst | 2 | ||||
-rw-r--r-- | Help/release/dev/genex-IN_LIST-logical-operator.rst | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst index 13948d3..04cb1dc 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 diff --git a/Help/release/dev/genex-IN_LIST-logical-operator.rst b/Help/release/dev/genex-IN_LIST-logical-operator.rst new file mode 100644 index 0000000..28fa7ce --- /dev/null +++ b/Help/release/dev/genex-IN_LIST-logical-operator.rst @@ -0,0 +1,5 @@ +genex-IN_LIST-logical-operator +------------------------------ + +* A new ``$<IN_LIST:...>`` :manual:`generator expression <cmake-generator-expressions(7)>` + has been added. |