2 SET (CTEST_SOURCE_DIRECTORY "/data/Builds/Nightly_Docs/Source")
3 SET (CTEST_BINARY_DIRECTORY "/data/Builds/Nightly_Docs/Build")
5 find_package(Subversion)
7 SET (CTEST_SVN_COMMAND ${Subversion_SVN_EXECUTABLE})
9 SET (CTEST_CHECKOUT_COMMAND "${CTEST_SVN_COMMAND} co http://www.opensg.org/svn_repo/trunk ${CTEST_SOURCE_DIRECTORY}")
11 # which ctest command to use for running the dashboard
12 SET (CTEST_COMMAND "/usr/bin/ctest -D Nightly")
14 SET (CTEST_NIGHTLY_START_TIME "01:00:00 CDT")
16 # what cmake command to use for configuring this dashboard
17 SET (CTEST_CMAKE_GENERATOR "Unix Makefiles")
18 SET (CTEST_PROJECT_NAME "OpenSG")
20 # this is the initial cache to use for the binary tree, be careful to escape
21 # any quotes inside of this string if you use it
22 SET (CTEST_INITIAL_CACHE "
23 BUILD_TESTING:BOOL=OFF
24 CMAKE_BUILD_TYPE:STRING=RelWithDebInfo
25 OSGBUILD_ENABLE_PACKAGING:BOOL=OFF
26 OSGBUILD_EXAMPLES_ADVANCED:BOOL=OFF
27 OSGBUILD_EXAMPLES_SIMPLE:BOOL=OFF
28 OSGBUILD_TESTS:BOOL=OFF
29 OSGBUILD_UNITTESTS:BOOL=OFF
31 OSG_DOXY_DOC_TYPE:STRING=Trac
34 SET (CTEST_SITE "destiny")
35 SET (CTEST_BUILD_NAME "Doc")
37 file(WRITE "${CTEST_BINARY_DIRECTORY}/CMakeCache.txt" "${CTEST_INITIAL_CACHE}")
41 ctest_update(SOURCE "${CTEST_SOURCE_DIRECTORY}" RETURN_VALUE NUMBER_FILES)
43 ctest_configure(BUILD "${CTEST_BINARY_DIRECTORY}")
45 SET (CTEST_BUILD_TARGET "DocUpload")
46 ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}")