summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GeneratorExpression/TARGET_PROPERTY-SOURCES-check.cmake
blob: c1a0f5bc4d41b65fa50edb96726d96fd1c126c6c (plain)
1
2
3
4
5
6
file(READ ${RunCMake_TEST_BINARY_DIR}/foo.txt foo_sources)

set(foo_expected "empty.c;empty2.c;empty3.c")
if(NOT foo_sources STREQUAL foo_expected)
  set(RunCMake_TEST_FAILED "foo SOURCES was:\n [[${foo_sources}]]\nbut expected:\n [[${foo_expected}]]")
endif()