cmake/Tests/RunCMake/GeneratorExpression/TARGET_PROPERTY-SOURCES-check.cmake
2018-04-23 21:13:27 +02:00

7 lines
261 B
CMake

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()