2017-01-26 11:17:02 -05:00
|
|
|
#
|
|
|
|
# Output build summary
|
|
|
|
#
|
|
|
|
|
|
|
|
message(STATUS " Build:")
|
|
|
|
message_colored(STATUS " Type: ${CMAKE_BUILD_TYPE}" "37;2")
|
|
|
|
message_colored(STATUS " CC: ${CMAKE_C_COMPILER} ${CMAKE_C_FLAGS} ${CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE_UPPER}}" "37;2")
|
|
|
|
message_colored(STATUS " CXX: ${CMAKE_CXX_COMPILER} ${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE_UPPER}}" "37;2")
|
|
|
|
message_colored(STATUS " LD: ${CMAKE_LINKER} ${CMAKE_EXE_LINKER_FLAGS} ${CMAKE_EXE_LINKER_FLAGS_${CMAKE_BUILD_TYPE_UPPER}}" "37;2")
|
|
|
|
|
|
|
|
message(STATUS " Targets:")
|
|
|
|
colored_option(" polybar-msg" BUILD_IPC_MSG)
|
|
|
|
colored_option(" testsuite" BUILD_TESTS)
|
|
|
|
|
2017-02-26 17:22:00 -05:00
|
|
|
message(STATUS " Module support:")
|
2017-01-26 11:17:02 -05:00
|
|
|
colored_option(" alsa" ENABLE_ALSA)
|
|
|
|
colored_option(" curl" ENABLE_CURL)
|
|
|
|
colored_option(" i3" ENABLE_I3)
|
|
|
|
colored_option(" mpd" ENABLE_MPD)
|
|
|
|
colored_option(" network" ENABLE_NETWORK)
|
|
|
|
|
|
|
|
message(STATUS " X extensions:")
|
|
|
|
colored_option(" xcb-randr" WITH_XRANDR)
|
|
|
|
colored_option(" xcb-randr (monitor support)" WITH_XRANDR_MONITORS)
|
|
|
|
colored_option(" xcb-render" WITH_XRENDER)
|
|
|
|
colored_option(" xcb-damage" WITH_XDAMAGE)
|
|
|
|
colored_option(" xcb-sync" WITH_XSYNC)
|
|
|
|
colored_option(" xcb-composite" WITH_XCOMPOSITE)
|
|
|
|
colored_option(" xcb-xkb" WITH_XKB)
|
|
|
|
colored_option(" xcb-xrm" WITH_XRM)
|
|
|
|
|
2017-01-27 07:30:23 -05:00
|
|
|
if(CMAKE_BUILD_TYPE_UPPER MATCHES DEBUG)
|
2017-01-26 11:17:02 -05:00
|
|
|
message(STATUS " Debug options:")
|
|
|
|
colored_option(" Trace logging" DEBUG_LOGGER)
|
|
|
|
colored_option(" Trace logging (verbose)" DEBUG_LOGGER_VERBOSE)
|
|
|
|
colored_option(" Draw clickable areas" DEBUG_HINTS)
|
|
|
|
colored_option(" Print fc-match details" DEBUG_FONTCONFIG)
|
|
|
|
colored_option(" Enable window shading" DEBUG_SHADED)
|
|
|
|
endif()
|