cmake_minimum_required(VERSION 2.8.10 FATAL_ERROR) set(CTEST_SOURCE_NAME ${CTEST_SCRIPT_ARG}) set(CTEST_BINARY_NAME ${CTEST_SOURCE_NAME}\\build) set(CTEST_DASHBOARD_ROOT "${CTEST_SCRIPT_DIRECTORY}") set(CTEST_SOURCE_DIRECTORY "${CTEST_DASHBOARD_ROOT}\\${CTEST_SOURCE_NAME}") set(CTEST_BINARY_DIRECTORY "${CTEST_DASHBOARD_ROOT}\\${CTEST_BINARY_NAME}") set(MODEL "Experimental") ####### Following Line is one of [Release, RelWithDebInfo, Debug] ############# set(CTEST_BUILD_CONFIGURATION "Release") ######### Following describes computer ############ set(CTEST_CMAKE_GENERATOR "Visual Studio 10 Win64") set(SITE_OS_NAME "Windows") set(SITE_OS_VERSION "WIN764") set(SITE_OS_BITS "64") set(SITE_COMPILER_NAME "vs2010") set(SITE_COMPILER_VERSION "10") ## Set the following to unique id your computer ## set(CTEST_SITE "WIN764-VS2010-IVF12.XXXX") ## following is optional to describe build ## set(SITE_BUILDNAME_SUFFIX "SHARED") #################################################### ##### Following controls CDash submission ##### #set(LOCAL_SUBMIT "TRUE") ##### Following controls test process ##### #set(LOCAL_SKIP_TEST "TRUE") #set(LOCAL_MEMCHECK_TEST "TRUE") #set(LOCAL_COVERAGE_TEST "TRUE") ##### Following controls cpack command ##### set(LOCAL_NO_PACKAGE "TRUE") ##### Following controls source update ##### #set(LOCAL_UPDATE "TRUE") set(REPOSITORY_URL "http://svn.hdfgroup.uiuc.edu/hdf4/branches/hdf4_2_10") #uncomment to use a compressed source file *.zip #set(CTEST_USE_TAR_SOURCE "hdf4.2.10") ############################################ #### Change default configuration of options in config/cmake/cacheinit.cmake file ### ### uncomment and change the following line for more configuration options #set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DXXX:XXX=XXX") ### uncomment the following line to build static libraries #set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DBUILD_JPEG_WITH_PIC:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=OFF") ### ext libs from svn #set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF4_ALLOW_EXTERNAL_SUPPORT:STRING=SVN") ### ext libs from tgz set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF4_ALLOW_EXTERNAL_SUPPORT:STRING=TGZ -DTGZPATH:PATH=${CTEST_SCRIPT_DIRECTORY}") ### Create install package with external libraries (szip, zlib, jpeg) set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF4_PACKAGE_EXTLIBS:BOOL=ON") ### disable test program builds #set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DBUILD_TESTING:BOOL=OFF") ### disable packaging #set(ADD_BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DHDF4_NO_PACKAGES:BOOL=ON") ############################################ include(${CTEST_SCRIPT_DIRECTORY}\\CTestScript.cmake)