[Cmake-commits] [cmake-commits] hoffman committed CMakeRCInformation.cmake 1.5 1.6

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Apr 22 11:10:21 EDT 2008


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv12422/Modules

Modified Files:
	CMakeRCInformation.cmake 
Log Message:
BUG: fix for bug 6834 RC should not get all COMPILE_FLAGS from a target and should work the same way as it does in the vs ide


Index: CMakeRCInformation.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/CMakeRCInformation.cmake,v
retrieving revision 1.5
retrieving revision 1.6
diff -C 2 -d -r1.5 -r1.6
*** CMakeRCInformation.cmake	27 Feb 2006 17:14:10 -0000	1.5
--- CMakeRCInformation.cmake	22 Apr 2008 15:10:18 -0000	1.6
***************
*** 13,17 ****
       "Flags for Fortran compiler.")
  
! 
  
  # now define the following rule variables
--- 13,20 ----
       "Flags for Fortran compiler.")
  
! # These are the only types of flags that should be passed to the rc
! # command, if COMPILE_FLAGS is used on a target this will be used
! # to filter out any other flags
! SET(CMAKE_RC_FLAG_REGEX "^[-/](D|I)")
  
  # now define the following rule variables



More information about the Cmake-commits mailing list