Compare commits

...
Author SHA1 Message Date
Matthieu Gallien b6c6aa70e6 update build system for crash reporter
Signed-off-by: Matthieu Gallien <[email protected]>
2024-12-11 12:48:29 +01:00
Matthieu Gallien 0bf0b18563 update libcrashreporter-qt to latest state
Signed-off-by: Matthieu Gallien <[email protected]>
2024-12-11 10:46:23 +01:00
4 changed files with 7 additions and 8 deletions

No files matched your search

+4 -3
View File
@@ -99,13 +99,14 @@ include_directories(
${CMAKE_CURRENT_BINARY_DIR}/src
)
option(WITH_CRASHREPORTER "Build support for an integrated crash reporter" ON)
# disable the crashreporter if libcrashreporter-qt is not available or we're building for ARM
if( CMAKE_SYSTEM_PROCESSOR MATCHES "arm" OR NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/src/3rdparty/libcrashreporter-qt/CMakeLists.txt")
set( WITH_CRASHREPORTER OFF )
endif()
if(NOT WITH_CRASHREPORTER)
message(STATUS "Build of crashreporter disabled.")
message(STATUS "-- Build of crashreporter disabled.")
endif()
include(GNUInstallDirs)
@@ -165,9 +166,9 @@ if(NO_MSG_HANDLER)
endif()
if(BUILD_UPDATER)
message("Compiling with updater")
message(STATUS "Compiling with updater")
else()
message("Compiling without updater")
message(STATUS "Compiling without updater")
endif()
# this option builds the shell integration
-4
View File
@@ -40,10 +40,6 @@ set( MAC_INSTALLER_BACKGROUND_FILE "${CMAKE_SOURCE_DIR}/admin/osx/installer-back
# set( THEME_INCLUDE "${OEM_THEME_DIR}/mytheme.h" )
# set( APPLICATION_LICENSE "${OEM_THEME_DIR}/license.txt )
option( WITH_CRASHREPORTER "Build crashreporter" OFF )
#set( CRASHREPORTER_SUBMIT_URL "https://crash-reports.owncloud.com/submit" CACHE STRING "URL for crash reporter" )
#set( CRASHREPORTER_ICON ":/owncloud-icon.png" )
## Updater options
option( BUILD_UPDATER "Build updater" ON )
+2
View File
@@ -1,6 +1,8 @@
PROJECT( CrashReporter )
cmake_policy(SET CMP0017 NEW)
message(STATUS "Build of crashreporter enabled.")
list(APPEND crashreporter_SOURCES main.cpp)
list(APPEND crashreporter_RC resources.qrc)