diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2019-05-29 18:55:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-06-03 14:20:23 (GMT) |
commit | 9fd602bfd33479b1acecd40e5c1b76ce37d59798 (patch) | |
tree | f2370c6b6f736fa6b8cb2ce72f1934b4c43de212 /Help | |
parent | ec66af2026e085e7b648b222794f0f213183ea1e (diff) | |
download | CMake-9fd602bfd33479b1acecd40e5c1b76ce37d59798.zip CMake-9fd602bfd33479b1acecd40e5c1b76ce37d59798.tar.gz CMake-9fd602bfd33479b1acecd40e5c1b76ce37d59798.tar.bz2 |
Genex: PlatformId now can match against a list of ids.
Diffstat (limited to 'Help')
-rw-r--r-- | Help/manual/cmake-generator-expressions.7.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst index c03e701..1136151 100644 --- a/Help/manual/cmake-generator-expressions.7.rst +++ b/Help/manual/cmake-generator-expressions.7.rst @@ -110,9 +110,10 @@ Variable Queries The mapping in :prop_tgt:`MAP_IMPORTED_CONFIG_<CONFIG>` is also considered by this expression when it is evaluated on a property on an :prop_tgt:`IMPORTED` target. -``$<PLATFORM_ID:platform_id>`` - ``1`` if the CMake's platform id matches ``platform_id`` - otherwise ``0``. +``$<PLATFORM_ID:platform_ids>`` + where ``platform_ids`` is a comma-separated list. + ``1`` if the CMake's platform id matches any one of the entries in + ``platform_ids``, otherwise ``0``. See also the :variable:`CMAKE_SYSTEM_NAME` variable. ``$<C_COMPILER_ID:compiler_ids>`` where ``compiler_ids`` is a comma-separated list. |