summaryrefslogtreecommitdiffstats
path: root/Tests/GeneratorExpression/check-part3.cmake
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2019-05-29 18:55:45 (GMT)
committerBrad King <brad.king@kitware.com>2019-06-03 14:20:23 (GMT)
commit9fd602bfd33479b1acecd40e5c1b76ce37d59798 (patch)
treef2370c6b6f736fa6b8cb2ce72f1934b4c43de212 /Tests/GeneratorExpression/check-part3.cmake
parentec66af2026e085e7b648b222794f0f213183ea1e (diff)
downloadCMake-9fd602bfd33479b1acecd40e5c1b76ce37d59798.zip
CMake-9fd602bfd33479b1acecd40e5c1b76ce37d59798.tar.gz
CMake-9fd602bfd33479b1acecd40e5c1b76ce37d59798.tar.bz2
Genex: PlatformId now can match against a list of ids.
Diffstat (limited to 'Tests/GeneratorExpression/check-part3.cmake')
-rw-r--r--Tests/GeneratorExpression/check-part3.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/GeneratorExpression/check-part3.cmake b/Tests/GeneratorExpression/check-part3.cmake
index 9014406..4fb7308 100644
--- a/Tests/GeneratorExpression/check-part3.cmake
+++ b/Tests/GeneratorExpression/check-part3.cmake
@@ -28,11 +28,16 @@ check(test_early_termination_2 "$<:,")
check(test_platform_id "${system_name}")
foreach(system Linux Windows Darwin)
if(system_name STREQUAL system)
+ check(test_platform_id_supported 1)
check(test_platform_id_${system} 1)
+ set(platform_supported 1)
else()
check(test_platform_id_${system} 0)
endif()
endforeach()
+if(NOT platform_supported)
+ check(test_platform_id_supported 0)
+endif()
check(lower_case "mi,xed")
check(upper_case "MIX,ED")
check(make_c_identifier "_4f_oo__bar__")