fix: breakpad use miniz
Some checks failed
sm-rpc / build (Debug, arm-linux-gnueabihf) (push) Successful in 1m34s
sm-rpc / build (Debug, aarch64-linux-gnu) (push) Successful in 2m46s
sm-rpc / build (Debug, host.gcc) (push) Failing after 1m28s
sm-rpc / build (Release, aarch64-linux-gnu) (push) Successful in 2m14s
sm-rpc / build (Release, arm-linux-gnueabihf) (push) Successful in 2m8s
sm-rpc / build (Debug, mipsel-linux-gnu) (push) Successful in 5m35s
sm-rpc / build (Release, host.gcc) (push) Failing after 1m55s
sm-rpc / build (Release, mipsel-linux-gnu) (push) Successful in 7m21s

This commit is contained in:
tqcq
2025-08-25 15:24:22 +08:00
parent a58517497b
commit 68b2e7f763
728 changed files with 489652 additions and 1211 deletions

View File

@@ -11,6 +11,7 @@ if(CMAKE_CXX_COMPILER_ID
endif()
link_libraries(atomic)
option(
WITH_MICROPROFILE
"with MicroProfile"
@@ -40,7 +41,13 @@ check_cxx_source_compiles(
"
HAVE_PTHREAD)
add_subdirectory(third_party/breakpad)
if(NOT
CMAKE_SYSTEM_PROCESSOR
MATCHES
"mips*")
add_subdirectory(third_party/breakpad)
endif()
add_subdirectory(third_party/tracy)
if(WITH_MICROPROFILE)
add_subdirectory(third_party/microprofile)
set(COMM_LINK_MICROPROFILE ON)
@@ -63,6 +70,10 @@ CPMAddPackage(
if(WITH_EXAMPLES)
cc_executable(microprofile_demo SRCS examples/microprofile_demo.cc)
cc_executable(
tracy_demo
SRCS examples/tracy_demo.cc
DEPS PRIVATE TracyClient)
endif()
enable_testing()
@@ -73,10 +84,12 @@ cc_test(
spdlog
oatpp)
cc_executable(
breakpad_test
SRCS src/breakpad_test.cc
DEPS PUBLIC breakpad)
if(breakpd_ADDED)
cc_executable(
breakpad_test
SRCS src/breakpad_test.cc
DEPS PUBLIC breakpad)
endif()
cc_benchmark(
calc_benchmark