2017-01-26 16:17:02 +00:00
|
|
|
#
|
|
|
|
# Output build summary
|
|
|
|
#
|
|
|
|
message(STATUS " Build:")
|
2018-12-14 09:02:20 +00:00
|
|
|
message_colored(STATUS " Version: ${APP_VERSION}" "32;1")
|
2017-01-26 16:17:02 +00:00
|
|
|
message_colored(STATUS " Type: ${CMAKE_BUILD_TYPE}" "37;2")
|
2020-12-22 02:43:06 +00:00
|
|
|
if (HAS_CXX_COMPILATION)
|
2021-07-11 12:11:58 +00:00
|
|
|
message_colored(STATUS " CXX: ${CMAKE_CXX_COMPILER} ${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE_UPPER}} ${cxx_flags_str}" "37;2")
|
|
|
|
message_colored(STATUS " LD: ${CMAKE_LINKER} ${CMAKE_EXE_LINKER_FLAGS} ${CMAKE_EXE_LINKER_FLAGS_${CMAKE_BUILD_TYPE_UPPER}} ${cxx_linker_flags_str}" "37;2")
|
2020-12-22 02:43:06 +00:00
|
|
|
endif()
|
|
|
|
if (BUILD_DOC)
|
|
|
|
message_colored(STATUS " sphinx-build: ${BIN_SPHINX} ${SPHINX_FLAGS}" "37;2")
|
|
|
|
endif()
|
2017-01-26 16:17:02 +00:00
|
|
|
|
2019-06-24 16:08:59 +00:00
|
|
|
message(STATUS " Install Paths:")
|
|
|
|
message_colored(STATUS " PREFIX: ${CMAKE_INSTALL_PREFIX}" "32")
|
|
|
|
message_colored(STATUS " BINDIR: ${CMAKE_INSTALL_FULL_BINDIR}" "32")
|
|
|
|
message_colored(STATUS " DATADIR: ${CMAKE_INSTALL_FULL_DATADIR}" "32")
|
|
|
|
message_colored(STATUS " DOCDIR: ${CMAKE_INSTALL_FULL_DOCDIR}" "32")
|
|
|
|
message_colored(STATUS " MANDIR: ${CMAKE_INSTALL_FULL_MANDIR}" "32")
|
|
|
|
|
2017-01-26 16:17:02 +00:00
|
|
|
message(STATUS " Targets:")
|
2020-12-22 02:43:06 +00:00
|
|
|
colored_option(" polybar" BUILD_POLYBAR)
|
|
|
|
colored_option(" polybar-msg" BUILD_POLYBAR_MSG)
|
2017-01-26 16:17:02 +00:00
|
|
|
colored_option(" testsuite" BUILD_TESTS)
|
2018-12-14 09:12:42 +00:00
|
|
|
colored_option(" documentation" BUILD_DOC)
|
2020-12-22 11:29:26 +00:00
|
|
|
colored_option(" html" BUILD_DOC_HTML)
|
|
|
|
colored_option(" man" BUILD_DOC_MAN)
|
2022-03-02 13:36:54 +00:00
|
|
|
colored_option(" default config" BUILD_CONFIG)
|
2020-12-24 00:09:39 +00:00
|
|
|
colored_option(" shell files" BUILD_SHELL)
|
2017-01-26 16:17:02 +00:00
|
|
|
|
2020-12-22 02:43:06 +00:00
|
|
|
if (BUILD_LIBPOLY)
|
|
|
|
message(STATUS " Module support:")
|
|
|
|
colored_option(" alsa" ENABLE_ALSA ALSA_VERSION)
|
|
|
|
colored_option(" curl" ENABLE_CURL CURL_VERSION)
|
2023-08-05 16:42:20 +00:00
|
|
|
colored_option(" dwm" ENABLE_DWM)
|
2020-12-22 02:43:06 +00:00
|
|
|
colored_option(" i3" ENABLE_I3)
|
|
|
|
colored_option(" mpd" ENABLE_MPD MPD_VERSION)
|
|
|
|
colored_option(" network (${WIRELESS_LIB})" ENABLE_NETWORK NETWORK_LIBRARY_VERSION)
|
|
|
|
colored_option(" pulseaudio" ENABLE_PULSEAUDIO PULSEAUDIO_VERSION)
|
|
|
|
colored_option(" xkeyboard" WITH_XKB Xcb_XKB_VERSION)
|
2017-01-26 16:17:02 +00:00
|
|
|
|
2020-12-22 02:43:06 +00:00
|
|
|
message(STATUS " X extensions:")
|
|
|
|
colored_option(" xcb-randr" Xcb_RANDR_FOUND Xcb_RANDR_VERSION)
|
|
|
|
colored_option(" xcb-randr (monitor support)" WITH_XRANDR_MONITORS Xcb_RANDR_VERSION)
|
|
|
|
colored_option(" xcb-composite" Xcb_COMPOSITE_FOUND Xcb_COMPOSITE_VERSION)
|
|
|
|
colored_option(" xcb-xkb" WITH_XKB Xcb_XKB_VERSION)
|
|
|
|
colored_option(" xcb-xrm" WITH_XRM Xcb_XRM_VERSION)
|
|
|
|
colored_option(" xcb-cursor" WITH_XCURSOR Xcb_CURSOR_VERSION)
|
2017-01-26 16:17:02 +00:00
|
|
|
|
2020-12-22 02:43:06 +00:00
|
|
|
message(STATUS " Log options:")
|
|
|
|
colored_option(" Trace logging" DEBUG_LOGGER)
|
2018-02-26 20:09:51 +00:00
|
|
|
|
2020-12-22 02:43:06 +00:00
|
|
|
if(CMAKE_BUILD_TYPE_UPPER MATCHES DEBUG)
|
|
|
|
message(STATUS " Debug options:")
|
|
|
|
colored_option(" Trace logging (verbose)" DEBUG_LOGGER_VERBOSE)
|
|
|
|
colored_option(" Draw clickable areas" DEBUG_HINTS)
|
|
|
|
colored_option(" Print fc-match details" DEBUG_FONTCONFIG)
|
|
|
|
endif()
|
2017-01-26 16:17:02 +00:00
|
|
|
endif()
|