Browse Source

added compiler version to output of cmake

tempestpy_adaptions
sjunges 8 years ago
parent
commit
f7d15b882d
  1. 3
      CMakeLists.txt

3
CMakeLists.txt

@ -168,6 +168,7 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel")
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
message(FATAL_ERROR "Visual Studio compiler is currently not supported.") message(FATAL_ERROR "Visual Studio compiler is currently not supported.")
endif() endif()
set(STORM_COMPILER_VERSION ${CMAKE_CXX_COMPILER_VERSION})
if(CCACHE_FOUND) if(CCACHE_FOUND)
set(STORM_COMPILER_ID "${STORM_COMPILER_ID} (ccache)") set(STORM_COMPILER_ID "${STORM_COMPILER_ID} (ccache)")
@ -260,7 +261,7 @@ if ("${CMAKE_GENERATOR}" STREQUAL "Xcode")
endif() endif()
# Display information about build configuration. # Display information about build configuration.
message(STATUS "Storm - Using compiler configuration ${STORM_COMPILER_ID}.")
message(STATUS "Storm - Using compiler configuration ${STORM_COMPILER_ID} ${STORM_COMPILER_VERSION}.")
if (STORM_DEVELOPER) if (STORM_DEVELOPER)
message(STATUS "Storm - CXX Flags: ${CMAKE_CXX_FLAGS}") message(STATUS "Storm - CXX Flags: ${CMAKE_CXX_FLAGS}")
message(STATUS "Storm - CXX Debug Flags: ${CMAKE_CXX_FLAGS_DEBUG}") message(STATUS "Storm - CXX Debug Flags: ${CMAKE_CXX_FLAGS_DEBUG}")

Loading…
Cancel
Save