forked from quickshell/quickshell
crash: add build configuration and distributor information
Also adds distributor to --version and build configuration to --version --verbose
This commit is contained in:
parent
8e40112d14
commit
23f59ec4c3
9 changed files with 155 additions and 81 deletions
|
@ -52,8 +52,16 @@ else()
|
|||
set(CRASH_REPORTER_DEF 0)
|
||||
endif()
|
||||
|
||||
if (DISTRIBUTOR_DEBUGINFO_AVAILABLE)
|
||||
set(DEBUGINFO_AVAILABLE 1)
|
||||
else()
|
||||
set(DEBUGINFO_AVAILABLE 0)
|
||||
endif()
|
||||
|
||||
add_library(quickshell-build INTERFACE)
|
||||
configure_file(build.hpp.in build.hpp)
|
||||
|
||||
configure_file(build.hpp.in build.hpp @ONLY ESCAPE_QUOTES)
|
||||
|
||||
target_include_directories(quickshell-build INTERFACE ${CMAKE_CURRENT_BINARY_DIR})
|
||||
target_link_libraries(quickshell-core PRIVATE quickshell-build)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue