[Cmake-commits] [cmake-commits] hoffman committed CMakeLists.txt 1.12 1.13
cmake-commits at cmake.org
cmake-commits at cmake.org
Fri Nov 13 22:48:34 EST 2009
Update of /cvsroot/CMake/CMake/Utilities/cmlibarchive
In directory public:/mounts/ram/cvs-serv6866
Modified Files:
CMakeLists.txt
Log Message:
for the Cmake build we do not want to have -Werror or force -Wall
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Utilities/cmlibarchive/CMakeLists.txt,v
retrieving revision 1.12
retrieving revision 1.13
diff -C 2 -d -r1.12 -r1.13
*** CMakeLists.txt 9 Nov 2009 19:42:23 -0000 1.12
--- CMakeLists.txt 14 Nov 2009 03:48:31 -0000 1.13
***************
*** 733,739 ****
# aggressive about diagnosing build problems; this can get
# relaxed somewhat in final shipping versions.
! IF ("CMAKE_C_COMPILER_ID" MATCHES "^GNU$")
! ADD_DEFINITIONS(-Wall -Werror)
! ENDIF ("CMAKE_C_COMPILER_ID" MATCHES "^GNU$")
IF(ENABLE_TEST)
--- 733,739 ----
# aggressive about diagnosing build problems; this can get
# relaxed somewhat in final shipping versions.
! #IF ("CMAKE_C_COMPILER_ID" MATCHES "^GNU$")
! # ADD_DEFINITIONS(-Wall -Werror)
! #ENDIF ("CMAKE_C_COMPILER_ID" MATCHES "^GNU$")
IF(ENABLE_TEST)
More information about the Cmake-commits
mailing list