diff --git a/CMakeLists.txt b/CMakeLists.txt index eef67167..80d1c1a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -108,21 +108,20 @@ endif () if (NOT USE_INTREE_LIBQMC) find_package(${QUOTIENT} 0.8 REQUIRED) if (NOT ${QUOTIENT}_FOUND) - message( WARNING "libQuotient not found; configuration will most likely fail.") - message( WARNING "Make sure you have installed libQuotient development files") - message( WARNING "as a package or checked out the library sources in lib/.") - message( WARNING "See also BUILDING.md") + message(WARNING "libQuotient not found; configuration will most likely fail.") + message(WARNING "Make sure you have installed libQuotient development files") + message(WARNING "as a package or checked out the library sources in lib/.") + message(WARNING "See also BUILDING.md") endif () endif () -message( STATUS ) -message( STATUS "=============================================================================" ) -message( STATUS " Quaternion ${quaternion_VERSION} Build Information" ) -message( STATUS "=============================================================================" ) +message(STATUS) +message(STATUS "== Quaternion ${quaternion_VERSION} configuration summary ==") +message(STATUS) if (CMAKE_BUILD_TYPE) - message( STATUS "Build type: ${CMAKE_BUILD_TYPE}") + message(STATUS "Build type: ${CMAKE_BUILD_TYPE}") endif(CMAKE_BUILD_TYPE) -message( STATUS "Quaternion install prefix: ${CMAKE_INSTALL_PREFIX}" ) +message(STATUS "Quaternion install prefix: ${CMAKE_INSTALL_PREFIX}") # Get Git info if possible find_package(Git) if(GIT_FOUND) @@ -131,25 +130,24 @@ if(GIT_FOUND) WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} OUTPUT_VARIABLE GIT_SHA1 OUTPUT_STRIP_TRAILING_WHITESPACE) - message( STATUS "Git SHA1: ${GIT_SHA1}") + message(STATUS "Git SHA1: ${GIT_SHA1}") endif() -message( STATUS "Using compiler: ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}" ) -message( STATUS "Using Qt ${${Qt}_VERSION} at ${${Qt}_Prefix}" ) +message(STATUS "Using compiler: ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}") +message(STATUS "Using Qt ${${Qt}_VERSION} at ${${Qt}_Prefix}") if (USE_INTREE_LIBQMC) - message( STATUS "Using in-tree libQuotient") + message(STATUS "Using in-tree libQuotient") if (GIT_FOUND) execute_process(COMMAND "${GIT_EXECUTABLE}" rev-parse -q HEAD WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/lib OUTPUT_VARIABLE LIB_GIT_SHA1 OUTPUT_STRIP_TRAILING_WHITESPACE) - message( STATUS " Library git SHA1: ${LIB_GIT_SHA1}") + message(STATUS " Library git SHA1: ${LIB_GIT_SHA1}") endif (GIT_FOUND) else () - message( STATUS "Using libQuotient ${${QUOTIENT}_VERSION} at ${${QUOTIENT}_DIR}") + message(STATUS "Using libQuotient ${${QUOTIENT}_VERSION} at ${${QUOTIENT}_DIR}") endif () -message( STATUS "=============================================================================" ) -message( STATUS ) +message(STATUS) # Set up source files set(quaternion_SRCS @@ -288,9 +286,9 @@ if(WIN32) RESULT_VARIABLE WDQ_RETVAL ) if (WDQ_RETVAL) - message( \"windeployqt returned \${WDQ_RETVAL} - check messages above\") + message(WARNING \"windeployqt returned \${WDQ_RETVAL} - check messages above\") else() - message( STATUS \"Quaternion and its dependencies have been deployed to \${CMAKE_INSTALL_PREFIX}.\") + message(STATUS \"Quaternion and its dependencies have been deployed to \${CMAKE_INSTALL_PREFIX}.\") endif() ") install(FILES ${quaternion_QM}