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
|
@ -41,9 +41,19 @@ qt_add_library(quickshell-core STATIC
|
|||
clock.cpp
|
||||
logging.cpp
|
||||
paths.cpp
|
||||
crashinfo.cpp
|
||||
common.cpp
|
||||
)
|
||||
|
||||
set_source_files_properties(main.cpp PROPERTIES COMPILE_DEFINITIONS GIT_REVISION="${GIT_REVISION}")
|
||||
if (CRASH_REPORTER)
|
||||
set(CRASH_REPORTER_DEF 1)
|
||||
endif()
|
||||
|
||||
add_library(quickshell-build INTERFACE)
|
||||
configure_file(build.hpp.in build.hpp)
|
||||
target_include_directories(quickshell-build INTERFACE ${CMAKE_CURRENT_BINARY_DIR})
|
||||
target_link_libraries(quickshell-core PRIVATE quickshell-build)
|
||||
|
||||
qt_add_qml_module(quickshell-core URI Quickshell VERSION 0.1)
|
||||
|
||||
target_link_libraries(quickshell-core PRIVATE ${QT_DEPS} Qt6::QuickPrivate CLI11::CLI11)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue