[cmake-commits] martink committed CMakeLists.txt 1.377 1.378

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Oct 16 14:27:47 EDT 2007


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

Modified Files:
	CMakeLists.txt 
Log Message:
ENH: added CMAKE_STRICT option for var and property checking


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CMakeLists.txt,v
retrieving revision 1.377
retrieving revision 1.378
diff -u -d -r1.377 -r1.378
--- CMakeLists.txt	3 Oct 2007 19:23:54 -0000	1.377
+++ CMakeLists.txt	16 Oct 2007 18:27:45 -0000	1.378
@@ -1,4 +1,7 @@
 # configure the .h file
+OPTION(CMAKE_STRICT   
+  "Perform strict testing to see if ANY properties or variables are used before being defined" OFF)
+
 CONFIGURE_FILE(
   "${CMake_SOURCE_DIR}/Source/cmConfigure.cmake.h.in"
   "${CMake_BINARY_DIR}/Source/cmConfigure.h"



More information about the Cmake-commits mailing list