1 # This is a script for ctest for running a nightly build.
2 # Still pre-alpha, don't run it if you not working on it.
5 #############################
6 # for cmake 2.6.[0..2]:
8 include(CMakeDetermineSystem)
10 include(Platform/UnixPaths)
11 endif(CMAKE_HOST_UNIX)
13 include(Platform/WindowsPaths)
14 endif(CMAKE_HOST_WIN32)
15 endif(NOT CMAKE_SYSTEM)
17 #############################
19 set(CTEST_UPDATE_TYPE svn)
20 set(SVN_REPOSITORY https://svn.kde.org/home/kde/trunk/KDE/kdelibs )
21 set(CTEST_CMAKE_GENERATOR "Unix Makefiles" )
23 # this is default, so it is not necessary
24 # set(CTEST_AVOID_SPACES FALSE)
27 include (${CTEST_SCRIPT_DIRECTORY}/cmake/modules/KDE4CTestNightlySetup.cmake)
30 ctest_empty_binary_directory("${CTEST_BINARY_DIRECTORY}")
31 ctest_start(Experimental)
32 ctest_update(SOURCE "${CTEST_SOURCE_DIRECTORY}" )
33 ctest_configure(BUILD "${CTEST_BINARY_DIRECTORY}" )
34 ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}" )
35 # ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}" )