[Cmake-commits] [cmake-commits] hoffman committed CompileFlags.cmake 1.2 1.3
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Jun 25 16:41:57 EDT 2009
Update of /cvsroot/CMake/CMake
In directory public:/mounts/ram/cvs-serv1850
Modified Files:
CompileFlags.cmake
Log Message:
ENH: first pass at VS 10, can bootstrap CMake, but many tests still fail
Index: CompileFlags.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/CompileFlags.cmake,v
retrieving revision 1.2
retrieving revision 1.3
diff -C 2 -d -r1.2 -r1.3
*** CompileFlags.cmake 30 Jan 2008 12:44:23 -0000 1.2
--- CompileFlags.cmake 25 Jun 2009 20:41:54 -0000 1.3
***************
*** 11,17 ****
# Disable deprecation warnings for standard C functions.
! IF(MSVC80 OR MSVC90)
ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE)
! ENDIF(MSVC80 OR MSVC90)
#silence duplicate symbol warnings on AIX
--- 11,20 ----
# Disable deprecation warnings for standard C functions.
! # really only needed for newer versions of VS, but should
! # not hurt other versions, and this will work into the
! # future
! IF(MSVC)
ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE)
! ENDIF(MSVC)
#silence duplicate symbol warnings on AIX
More information about the Cmake-commits
mailing list