mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
GeneratorExpression: Add $<QUOTE> generator expression
Support inserting '"' literals in generator expressions Fixes #20869
This commit is contained in:
@@ -70,6 +70,7 @@ add_custom_target(check-part1 ALL
|
||||
-Dtest_strequal_comma=$<STREQUAL:$<COMMA>,$<COMMA>>
|
||||
-Dtest_strequal_semicolon=$<STREQUAL:$<SEMICOLON>,$<SEMICOLON>>
|
||||
-Dtest_strequal_angle_r_comma=$<STREQUAL:$<ANGLE-R>,$<COMMA>>
|
||||
-Dtest_strequal_quote=$<STREQUAL:$<QUOTE>,$<QUOTE>>
|
||||
-Dtest_strequal_both_empty=$<STREQUAL:,>
|
||||
-Dtest_strequal_one_empty=$<STREQUAL:something,>
|
||||
-Dtest_inlist_true=$<IN_LIST:a,a$<SEMICOLON>b>
|
||||
|
||||
@@ -47,6 +47,7 @@ check(test_strequal_angle_r "1")
|
||||
check(test_strequal_comma "1")
|
||||
check(test_strequal_semicolon "1")
|
||||
check(test_strequal_angle_r_comma "0")
|
||||
check(test_strequal_quote "1")
|
||||
check(test_strequal_both_empty "1")
|
||||
check(test_strequal_one_empty "0")
|
||||
check(test_inlist_true "1")
|
||||
|
||||
Reference in New Issue
Block a user