Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53006 - branches/release/tools/build/CMake
From: troy_at_[hidden]
Date: 2009-05-14 18:43:16


Author: troy
Date: 2009-05-14 18:43:15 EDT (Thu, 14 May 2009)
New Revision: 53006
URL: http://svn.boost.org/trac/boost/changeset/53006

Log:

Add intel toolset identifiers

Text files modified:
   branches/release/tools/build/CMake/BoostConfig.cmake | 8 ++++++++
   1 files changed, 8 insertions(+), 0 deletions(-)

Modified: branches/release/tools/build/CMake/BoostConfig.cmake
==============================================================================
--- branches/release/tools/build/CMake/BoostConfig.cmake (original)
+++ branches/release/tools/build/CMake/BoostConfig.cmake 2009-05-14 18:43:15 EDT (Thu, 14 May 2009)
@@ -89,6 +89,14 @@
     
     # Set the GCC versioning toolset
     set(BOOST_TOOLSET "gcc${BOOST_VERSIONING_GCC_VERSION}")
+ elseif(CMAKE_CXX_COMPILER MATCHES "/icpc$" OR CMAKE_CXX_COMPILER MATCHES "/icpc.exe$")
+ set(BOOST_TOOLSET "intel")
+ set(BOOST_COMPILER "intel")
+ execute_process(
+ COMMAND ${CMAKE_CXX_COMPILER} "-dumpversion"
+ OUTPUT_VARIABLE INTEL_VERSION_STRING
+ OUTPUT_STRIP_TRAILING_WHITESPACE)
+ set(BOOST_COMPILER_VERSION ${INTEL_VERSION_STRING})
   endif(MSVC60)
 endif (NOT BOOST_TOOLSET)
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk