mirror of
https://github.com/YACReader/yacreader
synced 2026-04-12 15:49:53 -04:00
Improve Summary
This commit is contained in:
@ -191,13 +191,20 @@ if(BUILD_TESTS AND NOT BUILD_SERVER_STANDALONE)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Summary
|
# Summary
|
||||||
|
if(CMAKE_CONFIGURATION_TYPES)
|
||||||
|
string(JOIN ", " _configured_build_types ${CMAKE_CONFIGURATION_TYPES})
|
||||||
|
set(_build_type_summary "multi-config (${_configured_build_types})")
|
||||||
|
else()
|
||||||
|
set(_build_type_summary "${CMAKE_BUILD_TYPE}")
|
||||||
|
endif()
|
||||||
|
|
||||||
message(STATUS "")
|
message(STATUS "")
|
||||||
message(STATUS "YACReader ${PROJECT_VERSION} build configuration:")
|
message(STATUS "YACReader ${PROJECT_VERSION} build configuration:")
|
||||||
message(STATUS " Decompression backend: ${DECOMPRESSION_BACKEND}")
|
message(STATUS " Decompression backend: ${DECOMPRESSION_BACKEND}")
|
||||||
message(STATUS " PDF backend: ${PDF_BACKEND}")
|
message(STATUS " PDF backend: ${PDF_BACKEND}")
|
||||||
message(STATUS " Build tests: ${BUILD_TESTS}")
|
message(STATUS " Build tests: ${BUILD_TESTS}")
|
||||||
message(STATUS " Server standalone: ${BUILD_SERVER_STANDALONE}")
|
message(STATUS " Server standalone: ${BUILD_SERVER_STANDALONE}")
|
||||||
message(STATUS " Build type: ${CMAKE_BUILD_TYPE}")
|
message(STATUS " Build type: ${_build_type_summary}")
|
||||||
if(BUILD_NUMBER)
|
if(BUILD_NUMBER)
|
||||||
message(STATUS " Build number: ${BUILD_NUMBER}")
|
message(STATUS " Build number: ${BUILD_NUMBER}")
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user