Commit 279c8f72 authored by Jonas Jelten's avatar Jonas Jelten 🥕
Browse files

show build configuration overview

parent decb37be
...@@ -345,3 +345,18 @@ add_custom_target(uninstall ...@@ -345,3 +345,18 @@ add_custom_target(uninstall
COMMENT "Uninstalling elsa (Removing all installed files)" COMMENT "Uninstalling elsa (Removing all installed files)"
DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/install_manifest.txt" DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/install_manifest.txt"
) )
# build information overview
string(TOUPPER "CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE}" BUILD_TYPE_CXX_FLAGS)
message("
project | ${PROJECT_NAME}
compiler | ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}
build type | ${CMAKE_BUILD_TYPE}
cxxflags | ${CMAKE_CXX_FLAGS}
build type flags | ${${BUILD_TYPE_CXX_FLAGS}}
build dir | ${CMAKE_BINARY_DIR}
install prefix | ${CMAKE_INSTALL_PREFIX}
")
set_property(GLOBAL PROPERTY TARGET_MESSAGES OFF)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment