From a48453c3bdbead92c85e438901ed71939d447dcd Mon Sep 17 00:00:00 2001 From: "Troy D. Straszheim" Date: Wed, 20 May 2009 17:17:04 +0000 Subject: [PATCH] Clean up a few messages, display compiler and platform [SVN r53138] --- CMake/BoostConfig.cmake | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/CMake/BoostConfig.cmake b/CMake/BoostConfig.cmake index b6321b942..1b2aef80e 100644 --- a/CMake/BoostConfig.cmake +++ b/CMake/BoostConfig.cmake @@ -31,10 +31,7 @@ include(CheckCXXSourceCompiles) # 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 @@ if (NOT BOOST_TOOLSET) 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 @@ if (NOT BOOST_TOOLSET) 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 @@ else() 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)