2012-09-23 15:16:44 +04:00
|
|
|
|
|
|
|
include(${CMAKE_CURRENT_LIST_DIR}/check-common.cmake)
|
|
|
|
|
|
|
|
check(test_incomplete_1 "$<")
|
|
|
|
check(test_incomplete_2 "$<something")
|
|
|
|
check(test_incomplete_3 "$<something:")
|
|
|
|
check(test_incomplete_4 "$<something:,")
|
|
|
|
check(test_incomplete_5 "$something:,>")
|
|
|
|
check(test_incomplete_6 "<something:,>")
|
|
|
|
check(test_incomplete_7 "$<something::")
|
|
|
|
check(test_incomplete_8 "$<something:,")
|
|
|
|
check(test_incomplete_9 "$<something:,,")
|
|
|
|
check(test_incomplete_10 "$<something:,:")
|
|
|
|
check(test_incomplete_11 "$<something,,")
|
|
|
|
check(test_incomplete_12 "$<,,")
|
|
|
|
check(test_incomplete_13 "$<somespecialthing")
|
|
|
|
check(test_incomplete_14 "$<>")
|
|
|
|
check(test_incomplete_15 "$<some$<thing")
|
|
|
|
check(test_incomplete_16 "$<BOOL:something")
|
|
|
|
check(test_incomplete_17 "some$thing")
|
|
|
|
check(test_incomplete_18 "$<1:some,thing")
|
|
|
|
check(test_incomplete_19 "$<1:some,thing>")
|
|
|
|
check(test_incomplete_20 "$<CONFIGURATION>")
|
|
|
|
check(test_incomplete_21 "$<BOOL:something>")
|
|
|
|
check(test_build_interface "build")
|
|
|
|
check(test_install_interface "")
|
2012-12-10 14:33:23 +04:00
|
|
|
check(test_target_name_1 "tgt,ok")
|
|
|
|
check(test_target_name_2 "tgt:ok")
|
2013-02-18 13:42:00 +04:00
|
|
|
check(test_target_includes1 "/empty1/public;/empty2/public;/empty3/public;/empty4/public")
|
|
|
|
check(test_target_includes2 "/empty2/public;/empty3/public;/empty4/public")
|
|
|
|
check(test_target_includes3 "/empty3/public;/empty2/public;/empty4/public")
|
2013-02-13 15:35:31 +04:00
|
|
|
check(test_target_includes4 "/empty1/public;/empty1/private;/empty2/public;/empty3/public;/empty4/public")
|
|
|
|
check(test_target_includes5 "/empty2/public;/empty3/public;/empty2/public;/empty4/public")
|
|
|
|
check(test_target_includes6 "/empty3/public;/empty3/private;/empty2/public;/empty3/public;/empty4/public")
|
2013-02-18 13:42:00 +04:00
|
|
|
check(test_target_includes7 "/empty1/public;/empty2/public;/empty3/public;/empty4/public")
|
2013-02-13 15:35:31 +04:00
|
|
|
check(test_target_includes8 "/empty5/private1;/empty5/private2")
|
2013-05-02 11:02:01 +04:00
|
|
|
check(test_arbitrary_content_comma_1 "a,")
|
|
|
|
check(test_arbitrary_content_comma_2 ",a")
|
|
|
|
check(test_arbitrary_content_comma_3 "a,,")
|
|
|
|
check(test_arbitrary_content_comma_4 ",")
|
|
|
|
check(test_arbitrary_content_comma_5 ",,")
|
|
|
|
check(test_arbitrary_content_comma_6 ",,,")
|
|
|
|
check(test_arbitrary_content_comma_7 ",,a")
|
|
|
|
check(test_arbitrary_content_comma_8 "a,,b")
|
|
|
|
check(test_arbitrary_content_comma_9 "a,,b,,")
|
|
|
|
check(test_arbitrary_content_comma_10 ",,a,,b,,")
|