[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.13 1.14

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Jul 8 11:41:43 EDT 2009


Update of /cvsroot/CMake/CMake/Tests/Preprocess
In directory public:/mounts/ram/cvs-serv23655/Tests/Preprocess

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/Preprocess/CMakeLists.txt,v
retrieving revision 1.13
retrieving revision 1.14
diff -C 2 -d -r1.13 -r1.14
*** CMakeLists.txt	24 Apr 2009 15:21:09 -0000	1.13
--- CMakeLists.txt	8 Jul 2009 15:41:39 -0000	1.14
***************
*** 5,13 ****
  # syntax on native tool command lines.
  
- # We need ansi C support.
- IF(CMAKE_ANSI_CFLAGS)
-   SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}")
- ENDIF(CMAKE_ANSI_CFLAGS)
- 
  # Determine the build tool being used.  Not all characters can be
  # escaped for all build tools.  This test checks all characters known
--- 5,8 ----



More information about the Cmake-commits mailing list