|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r53138 - branches/release/tools/build/CMake
From: troy_at_[hidden]
Date: 2009-05-20 13:17:05
Author: troy
Date: 2009-05-20 13:17:04 EDT (Wed, 20 May 2009)
New Revision: 53138
URL: http://svn.boost.org/trac/boost/changeset/53138
Log:
Clean up a few messages, display compiler and platform
Text files modified:
branches/release/tools/build/CMake/BoostConfig.cmake | 12 +++++++++---
1 files changed, 9 insertions(+), 3 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-20 13:17:04 EDT (Wed, 20 May 2009)
@@ -31,10 +31,7 @@
# Python interpreter
#
include(FindPythonInterp)
-message(STATUS "found python executable ${PYTHON_EXECUTABLE}")
include(FindPythonLibs)
-message(STATUS "found python includes ${PYTHON_INCLUDE_PATH}")
-message(STATUS "found python libs ${PYTHON_LIBRARIES}")
# Toolset detection.
if (NOT BOOST_TOOLSET)
@@ -92,6 +89,7 @@
elseif(CMAKE_CXX_COMPILER MATCHES "/icpc$" OR CMAKE_CXX_COMPILER MATCHES "/icpc.exe$")
set(BOOST_TOOLSET "intel")
set(BOOST_COMPILER "intel")
+ set(CMAKE_COMPILER_IS_INTEL ON)
execute_process(
COMMAND ${CMAKE_CXX_COMPILER} "-dumpversion"
OUTPUT_VARIABLE INTEL_VERSION_STRING
@@ -100,6 +98,12 @@
endif(MSVC60)
endif (NOT BOOST_TOOLSET)
+message(STATUS "Boost compiler: ${BOOST_COMPILER}")
+message(STATUS "Boost toolset: ${BOOST_TOOLSET}")
+
+# create cache entry
+set(BOOST_PLATFORM "unknown" CACHE STRING "Boost platform name")
+
# Multi-threading support
if(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
set(MULTI_THREADED_COMPILE_FLAGS "-pthreads")
@@ -146,6 +150,8 @@
set(BOOST_PLATFORM "unknown")
endif()
+message(STATUS "Boost platform: ${BOOST_PLATFORM}")
+
# Setup DEBUG_COMPILE_FLAGS, RELEASE_COMPILE_FLAGS, DEBUG_LINK_FLAGS and
# and RELEASE_LINK_FLAGS based on the CMake equivalents
if(CMAKE_CXX_FLAGS_DEBUG)
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