[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:32 EDT 2009


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

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/FunctionTest/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:51 -0000	1.5
--- CMakeLists.txt	8 Jul 2009 15:41:27 -0000	1.6
***************
*** 3,8 ****
  PROJECT (FunctionTest)
  
- SET(CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS}")
- 
  FUNCTION(FAILED testname)
    MESSAGE(SEND_ERROR "${testname} failed ${ARGN}")
--- 3,6 ----



More information about the Cmake-commits mailing list