2013-10-18 15:23:34 +00:00
|
|
|
cmake_minimum_required(VERSION 2.4)
|
2011-02-18 17:11:51 +00:00
|
|
|
|
|
|
|
# Settings:
|
2012-08-13 17:47:32 +00:00
|
|
|
set(CTEST_DASHBOARD_ROOT "@CMake_BINARY_DIR@/Tests/CTestTest")
|
|
|
|
set(CTEST_SITE "@SITE@")
|
|
|
|
set(CTEST_BUILD_NAME "CTestTest-@BUILDNAME@-Upload")
|
2011-02-18 17:11:51 +00:00
|
|
|
|
2012-08-13 17:47:32 +00:00
|
|
|
set(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTestUpload")
|
|
|
|
set(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTestUpload")
|
2014-03-03 19:06:34 +00:00
|
|
|
set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
|
2014-09-05 19:40:01 +00:00
|
|
|
set(CTEST_CMAKE_GENERATOR_PLATFORM "@CMAKE_GENERATOR_PLATFORM@")
|
2014-03-03 19:06:34 +00:00
|
|
|
set(CTEST_CMAKE_GENERATOR_TOOLSET "@CMAKE_GENERATOR_TOOLSET@")
|
2012-08-13 17:47:32 +00:00
|
|
|
set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}")
|
2011-02-18 17:11:51 +00:00
|
|
|
|
|
|
|
CTEST_START(Experimental)
|
|
|
|
CTEST_CONFIGURE(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)
|
|
|
|
CTEST_BUILD(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res)
|
2011-03-10 20:56:55 +00:00
|
|
|
CTEST_UPLOAD(FILES "${CTEST_SOURCE_DIRECTORY}/sleep.c" "${CTEST_BINARY_DIRECTORY}/CMakeCache.txt")
|
2011-02-18 17:11:51 +00:00
|
|
|
CTEST_SUBMIT()
|