-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCoSMo-Singapore-Durian-ITK-i386-Wrapping.cmake
44 lines (38 loc) · 1.29 KB
/
CoSMo-Singapore-Durian-ITK-i386-Wrapping.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
# maintainer: Alex. Gouaillard <[email protected]>
# gcc (GCC) 4.2
set( arch i386 ) # ppc;i386;ppc64;x86_64
set( CTEST_SITE "Durian.CoSMo.sg" )
set( CTEST_BUILD_NAME "Darwin-c++-4.2-${arch}-WRAPITK" )
set( CTEST_BUILD_CONFIGURATION "Release" )
set( CTEST_CMAKE_GENERATOR "Unix Makefiles" )
set( CTEST_BUILD_FLAGS -j2 )
set( CTEST_TEST_ARGS PARALLEL_LEVEL 2 )
set( dashboard_root_name "Dashboards" )
set( dashboard_binary_name ITK-${arch}-WRAPITK )
set(ENV{CC} gcc)
set(ENV{CXX} g++)
macro(dashboard_hook_init)
set( dashboard_cache "
CMAKE_OSX_ARCHITECTURES:STRING=${arch}
BUILD_TESTING:BOOL=ON
BUILD_EXAMPLES:BOOL=ON
BUILD_SHARED_LIBS:BOOL=ON
ITK_LEGACY_SILENT:BOOL=ON
ITK_USE_REVIEW:BOOL=ON
ITK_WRAP_JAVA:BOOL=ON
ITK_WRAP_PYTHON:BOOL=ON
ITK_USE_CCACHE:BOOL=ON
ITK_USE_SYSTEM_SWIG:BOOL=ON
ITK_USE_SYSTEM_GCCXML:BOOL=ON
GCCXML:FILEPATH=/Users/CoSMoTest-Mac/src/gccxml/build-${arch}/bin/gccxml
"
)
if("${dashboard_model}" STREQUAL "Nightly")
message("Making sure to use the nightly-master branch")
execute_process(
COMMAND "${CTEST_GIT_COMMAND}" checkout nightly-master
WORKING_DIRECTORY "${CTEST_SOURCE_DIRECTORY}"
)
endif()
endmacro(dashboard_hook_init)
include(${CTEST_SCRIPT_DIRECTORY}/ITKScripts/itk_common.cmake)