[Cmake-commits] [cmake-commits] david.cole committed CMakeLists.txt 1.163 1.164

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Oct 20 14:31:12 EDT 2009


Update of /cvsroot/CMake/CMake
In directory public:/mounts/ram/cvs-serv11371

Modified Files:
	CMakeLists.txt 
Log Message:
Add test of all available CPack generators. Add this test with the goal of increasing coverage of the cpack source code, even/especially when the underlying packager tool is not installed. The test does not fail if there is a cpack problem with a certain generator. I expect some generators will fail on every machine running a CMake dashboard.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/CMakeLists.txt,v
retrieving revision 1.163
retrieving revision 1.164
diff -C 2 -d -r1.163 -r1.164
*** CMakeLists.txt	5 Oct 2009 14:28:37 -0000	1.163
--- CMakeLists.txt	20 Oct 2009 18:31:10 -0000	1.164
***************
*** 142,145 ****
--- 142,146 ----
      SET(CMAKE_CTEST_COMMAND "${EXECUTABLE_OUTPUT_PATH}/ctest")
      SET(CMAKE_CMAKE_COMMAND "${EXECUTABLE_OUTPUT_PATH}/cmake")
+     SET(CMAKE_CPACK_COMMAND "${EXECUTABLE_OUTPUT_PATH}/cpack")
    ENDIF(BUILD_TESTING)
  
***************
*** 147,151 ****
    CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/Templates/CTestScript.cmake.in"
      "${CMAKE_CURRENT_BINARY_DIR}/CTestScript.cmake"
!     @ONLY)  
    CONFIGURE_FILE(${CMake_SOURCE_DIR}/Tests/.NoDartCoverage
      ${CMake_BINARY_DIR}/Tests/.NoDartCoverage)
--- 148,152 ----
    CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/Templates/CTestScript.cmake.in"
      "${CMAKE_CURRENT_BINARY_DIR}/CTestScript.cmake"
!     @ONLY)
    CONFIGURE_FILE(${CMake_SOURCE_DIR}/Tests/.NoDartCoverage
      ${CMake_BINARY_DIR}/Tests/.NoDartCoverage)



More information about the Cmake-commits mailing list