GenEx: Add tests for "0" and "1" expressions with literal commas.
This commit is contained in:
parent
d729e8b74c
commit
78e54b99fe
|
@ -4,7 +4,9 @@ project(GeneratorExpression NONE)
|
||||||
add_custom_target(check ALL
|
add_custom_target(check ALL
|
||||||
COMMAND ${CMAKE_COMMAND}
|
COMMAND ${CMAKE_COMMAND}
|
||||||
-Dtest_0=$<0:nothing>
|
-Dtest_0=$<0:nothing>
|
||||||
|
-Dtest_0_with_comma=$<0:-Wl,--no-undefined>
|
||||||
-Dtest_1=$<1:content>
|
-Dtest_1=$<1:content>
|
||||||
|
-Dtest_1_with_comma=$<1:-Wl,--no-undefined>
|
||||||
-Dconfig=$<CONFIGURATION>
|
-Dconfig=$<CONFIGURATION>
|
||||||
-Dtest_and_0=$<AND:0>
|
-Dtest_and_0=$<AND:0>
|
||||||
-Dtest_and_0_0=$<AND:0,0>
|
-Dtest_and_0_0=$<AND:0,0>
|
||||||
|
|
|
@ -6,7 +6,9 @@ endmacro()
|
||||||
|
|
||||||
message(STATUS "config=[${config}]")
|
message(STATUS "config=[${config}]")
|
||||||
check(test_0 "")
|
check(test_0 "")
|
||||||
|
check(test_0_with_comma "")
|
||||||
check(test_1 "content")
|
check(test_1 "content")
|
||||||
|
check(test_1_with_comma "-Wl,--no-undefined")
|
||||||
check(test_and_0 "0")
|
check(test_and_0 "0")
|
||||||
check(test_and_0_0 "0")
|
check(test_and_0_0 "0")
|
||||||
check(test_and_0_1 "0")
|
check(test_and_0_1 "0")
|
||||||
|
|
Loading…
Reference in New Issue