You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
403 B
10 lines
403 B
file(READ ${RunCMake_TEST_BINARY_DIR}/foo.txt foo_sources)
|
|
|
|
# VS generators inject CMakeLists.txt as a source. Remove it.
|
|
string(REGEX REPLACE ";[^;]*CMakeLists.txt$" "" foo_sources "${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()
|