2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 13:22:11 +00:00

Clean up a few messages, display compiler and platform

[SVN r53138]
This commit is contained in:
Troy D. Straszheim
2009-05-20 17:17:04 +00:00
parent 37cd001825
commit a48453c3bd

View File

@@ -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)