[Cmake-commits] [cmake-commits] hoffman committed CMakeLists.txt 1.7 1.7.2.1

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Oct 9 16:11:49 EDT 2009


Update of /cvsroot/CMake/CMake/Tests/PrecompiledHeader
In directory public:/mounts/ram/cvs-serv13963/Tests/PrecompiledHeader

Modified Files:
      Tag: CMake-2-8
	CMakeLists.txt 
Log Message:
Merge in changes for RC 3


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/PrecompiledHeader/CMakeLists.txt,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -C 2 -d -r1.7 -r1.7.2.1
*** CMakeLists.txt	13 Jul 2009 20:58:24 -0000	1.7
--- CMakeLists.txt	9 Oct 2009 20:11:47 -0000	1.7.2.1
***************
*** 3,9 ****
  
  # Make sure the proper compiler is in use.
! IF(NOT MSVC)
!   MESSAGE(FATAL_ERROR "The PrecompiledHeader test works only with MSVC")
! ENDIF(NOT MSVC)
  
  # Compute a custom name for the precompiled header.
--- 3,9 ----
  
  # Make sure the proper compiler is in use.
! IF(NOT MSVC AND NOT "${CMAKE_C_COMPILER_ID}" MATCHES "^(Intel)$")
!   MESSAGE(FATAL_ERROR "The PrecompiledHeader test works only with MSVC or Intel")
! ENDIF()
  
  # Compute a custom name for the precompiled header.



More information about the Cmake-commits mailing list