[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.5 1.6
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Jul 8 11:41:37 EDT 2009
Update of /cvsroot/CMake/CMake/Tests/MakeClean
In directory public:/mounts/ram/cvs-serv23655/Tests/MakeClean
Modified Files:
CMakeLists.txt
Log Message:
ENH: Remove CMAKE_ANSI_CFLAGS from tests
As of CMake 2.6 this variable is not defined, and the ANSI flags for the
HP compiler are simply hard-coded in the default C flags.
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/MakeClean/CMakeLists.txt,v
retrieving revision 1.5
retrieving revision 1.6
diff -C 2 -d -r1.5 -r1.6
*** CMakeLists.txt 25 Mar 2008 15:26:58 -0000 1.5
--- CMakeLists.txt 8 Jul 2009 15:41:33 -0000 1.6
***************
*** 2,7 ****
PROJECT(MakeClean)
- SET(CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS}")
-
# Build the to-clean project.
TRY_COMPILE(TOCLEAN_BUILT
--- 2,5 ----
***************
*** 34,42 ****
ENDFOREACH(f)
- # Enable ANSI flags for the C executable.
- IF(CMAKE_ANSI_CFLAGS)
- SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}")
- ENDIF(CMAKE_ANSI_CFLAGS)
-
# Configure an executable to check that all the files are missing.
SET(CHECK_FILES)
--- 32,35 ----
More information about the Cmake-commits
mailing list