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.
24 lines
837 B
24 lines
837 B
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
|
set(CTEST_CMAKE_GENERATOR_PLATFORM "@CMAKE_GENERATOR_PLATFORM@")
|
|
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
|
set(CTEST_PROJECT_NAME "CTestConfig")
|
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestConfig")
|
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestConfig/@cfg@-script")
|
|
|
|
ctest_start(Experimental)
|
|
|
|
ctest_configure(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE rv)
|
|
if(NOT rv STREQUAL 0)
|
|
message(FATAL_ERROR "*** error in ctest_configure ***")
|
|
endif()
|
|
|
|
ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE rv)
|
|
if(NOT rv STREQUAL 0)
|
|
message(FATAL_ERROR "*** error in ctest_build ***")
|
|
endif()
|
|
|
|
ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE rv)
|
|
if(NOT rv STREQUAL 0)
|
|
message(FATAL_ERROR "*** error in ctest_test ***")
|
|
endif()
|