make some efforts to reset the widget flags and uninstall the special event filter
[kdelibs.git] / KDELibsNightly.cmake
blob72fa4c3aa08892f2f1a821c7bfeefe57ca40ac0f
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.
3 # Alex
5 #############################
6 # for cmake 2.6.[0..2]:
7 if(NOT CMAKE_SYSTEM)
8    include(CMakeDetermineSystem)
9    if(CMAKE_HOST_UNIX)
10       include(Platform/UnixPaths)
11    endif(CMAKE_HOST_UNIX)
12    if(CMAKE_HOST_WIN32)
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}" )
36 ctest_submit()