Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
usCTestScript_travis.cmake
Go to the documentation of this file.
1 
2 find_program(CTEST_COVERAGE_COMMAND NAMES gcov)
3 find_program(CTEST_MEMORYCHECK_COMMAND NAMES valgrind)
4 find_program(CTEST_GIT_COMMAND NAMES git)
5 
6 set(CTEST_SITE "travis-ci")
7 set(CTEST_DASHBOARD_ROOT "/tmp/us builds")
8 #set(CTEST_COMPILER "gcc-4.5")
9 set(CTEST_CMAKE_GENERATOR "Unix Makefiles")
10 set(CTEST_BUILD_FLAGS "-j")
11 set(CTEST_BUILD_CONFIGURATION Release)
12 
13 
14 set(US_SOURCE_DIR "${CMAKE_CURRENT_LIST_DIR}/../")
15 
16 set(US_BUILD_CONFIGURATION $ENV{BUILD_CONFIGURATION})
17 include(${US_SOURCE_DIR}/cmake/usCTestScript.cmake)