[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.171 1.172

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Dec 10 10:34:35 EST 2009


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

Modified Files:
	CMakeLists.txt 
Log Message:
Test 'install' target of CMake itself

We create option CMake_TEST_INSTALL to enable a new CMake.Install test.
It tests running the "make install" target to install CMake itself into
a test directory.  We enable the option by default for dashboard builds.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/CMakeLists.txt,v
retrieving revision 1.171
retrieving revision 1.172
diff -C 2 -d -r1.171 -r1.172
*** CMakeLists.txt	10 Dec 2009 15:33:38 -0000	1.171
--- CMakeLists.txt	10 Dec 2009 15:34:33 -0000	1.172
***************
*** 367,370 ****
--- 367,374 ----
  STRING(REGEX REPLACE "^/" "" CMake_DOC_DEST "${CMAKE_DOC_DIR}")
  
+ IF(BUILD_TESTING)
+   INCLUDE(${CMake_SOURCE_DIR}/Tests/CMakeInstall.cmake)
+ ENDIF()
+ 
  # include special compile flags for some compilers
  INCLUDE(CompileFlags.cmake)



More information about the Cmake-commits mailing list