13 lines
586 B
CMake
13 lines
586 B
CMake
|
cmake_minimum_required(VERSION 2.8.10)
|
||
|
|
||
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/VSProjectInSubdir")
|
||
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestBuildCommandProjectInSubdir/Nested")
|
||
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_TEST_GENERATOR@")
|
||
|
set(CTEST_PROJECT_NAME "VSProjectInSubdir")
|
||
|
set(CTEST_BUILD_CONFIGURATION "@CTestTest_CONFIG@")
|
||
|
|
||
|
ctest_empty_binary_directory(${CTEST_BINARY_DIRECTORY})
|
||
|
ctest_start(Experimental)
|
||
|
ctest_configure(OPTIONS "@CMAKE_TEST_GENERATOR_TOOLSET_SELECTION@-DCMAKE_MAKE_PROGRAM:FILEPATH=@CMAKE_TEST_MAKEPROGRAM@")
|
||
|
ctest_build(TARGET test)
|