-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMpdRoot_test1.cmake
47 lines (37 loc) · 1.42 KB
/
MpdRoot_test1.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
SET(MODEL Experimental)
IF(${CTEST_SCRIPT_ARG} MATCHES Nightly)
SET(MODEL Nightly)
ENDIF(${CTEST_SCRIPT_ARG} MATCHES Nightly)
SET (CTEST_COMMAND
"ctest -D ${MODEL}Start -D ${MODEL}Update -D ${MODEL}Configure -D ${MODEL}Submit"
)
SET (CTEST_SOURCE_DIRECTORY $ENV{SOURCEDIR})
SET (CTEST_BINARY_DIRECTORY $ENV{BUILDDIR})
SET (CTEST_UPDATE_COMMAND "/usr/bin/svn")
SET (CTEST_UPDATE_CHECKOUT " ${CTEST_UPDATE_COMMAND} update ")
# what cmake command to use for configuring this dashboard
SET (CTEST_CMAKE_COMMAND
"cmake"
)
####################################################################
# The values in this section are optional you can either
# have them or leave them commented out
####################################################################
# should ctest wipe the binary tree before running
#SET (CTEST_START_WITH_EMPTY_BINARY_DIRECTORY TRUE)
CTEST_EMPTY_BINARY_DIRECTORY(${CTEST_BINARY_DIRECTORY})
# this is the initial cache to use for the binary tree, be careful to escape
# any quotes inside of this string if you use it
SET (CTEST_INITIAL_CACHE "
BUILDNAME:STRING=$ENV{LABEL}
SITE:STRING=$ENV{SITE}
")
# set any extra environment variables here
#SET (CTEST_ENVIRONMENT
#)
#CTEST_START (${MODEL})
#CTEST_UPDATE (SOURCE "${CTEST_SOURCE_DIRECTORY}")
#CTEST_CONFIGURE (BUILD "${CTEST_BINARY_DIRECTORY}")
#CTEST_BUILD (BUILD "${CTEST_BINARY_DIRECTORY}")
#CTEST_TEST (BUILD "${CTEST_BINARY_DIRECTORY}")
#CTEST_SUBMIT ()