forked from quickshell/quickshell
crash: add crash reporter
This commit is contained in:
parent
5040f3796c
commit
fe1d15e8f6
23 changed files with 1118 additions and 315 deletions
16
src/crash/CMakeLists.txt
Normal file
16
src/crash/CMakeLists.txt
Normal file
|
@ -0,0 +1,16 @@
|
|||
qt_add_library(quickshell-crash STATIC
|
||||
main.cpp
|
||||
interface.cpp
|
||||
handler.cpp
|
||||
)
|
||||
|
||||
qs_pch(quickshell-crash)
|
||||
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(breakpad REQUIRED IMPORTED_TARGET breakpad)
|
||||
# only need client?? take only includes from pkg config todo
|
||||
target_link_libraries(quickshell-crash PRIVATE PkgConfig::breakpad -lbreakpad_client)
|
||||
|
||||
target_link_libraries(quickshell-crash PRIVATE quickshell-build Qt6::Widgets)
|
||||
|
||||
target_link_libraries(quickshell-core PRIVATE quickshell-crash)
|
Loading…
Add table
Add a link
Reference in a new issue