Text archives Help
- From: bigler@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [Manta] r1923 - trunk/CMake
- Date: Wed, 12 Dec 2007 15:40:19 -0700 (MST)
Author: bigler
Date: Wed Dec 12 15:40:19 2007
New Revision: 1923
Modified:
trunk/CMake/CompilerInfo.cmake
Log:
CMake/CompilerInfo.cmake
Use a better regular expression to detect cl compiler. This
shouldn't detect that icl, icc and icpc are cl.
Modified: trunk/CMake/CompilerInfo.cmake
==============================================================================
--- trunk/CMake/CompilerInfo.cmake (original)
+++ trunk/CMake/CompilerInfo.cmake Wed Dec 12 15:40:19 2007
@@ -47,7 +47,8 @@
SET(USING_KNOWN_CXX_COMPILER TRUE)
ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX)
-SET(MANTA_COMPILER_NAME_REGEXPR "cl*$")
+# The idea is to match a string that ends with cl but doesn't have icl in it.
+SET(MANTA_COMPILER_NAME_REGEXPR "([^i]|^)cl.*$")
IF(CMAKE_C_COMPILER MATCHES ${MANTA_COMPILER_NAME_REGEXPR}
AND CMAKE_CXX_COMPILER MATCHES ${MANTA_COMPILER_NAME_REGEXPR})
SET(USING_WINDOWS_CL TRUE)
- [Manta] r1923 - trunk/CMake, bigler, 12/12/2007
Archive powered by MHonArc 2.6.16.