mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-05 13:50:10 -05:00
GenEx: Add test for $<BOOL:> with empty parameter.
This commit is contained in:
@@ -30,6 +30,7 @@ add_custom_target(check ALL
|
||||
-Dtest_bool_off=$<BOOL:Off>
|
||||
-Dtest_bool_no=$<BOOL:No>
|
||||
-Dtest_bool_n=$<BOOL:N>
|
||||
-Dtest_bool_empty=$<BOOL:>
|
||||
-Dtest_strequal_yes_yes=$<STREQUAL:Yes,Yes>
|
||||
-Dtest_strequal_yes_yes_cs=$<STREQUAL:Yes,yes>
|
||||
-Dtest_strequal_yes_no=$<STREQUAL:Yes,No>
|
||||
|
||||
@@ -31,6 +31,7 @@ check(test_bool_on "1")
|
||||
check(test_bool_off "0")
|
||||
check(test_bool_no "0")
|
||||
check(test_bool_n "0")
|
||||
check(test_bool_empty "0")
|
||||
check(test_strequal_yes_yes "1")
|
||||
check(test_strequal_yes_yes_cs "0")
|
||||
check(test_strequal_yes_no "0")
|
||||
|
||||
Reference in New Issue
Block a user