From 53280aa832057e9162fa2eb9a0ba7363770ef799 Mon Sep 17 00:00:00 2001 From: Edward Li Date: Sun, 12 Jan 2025 09:39:22 +0800 Subject: [PATCH] Use dump_syms for macOS --- CMakeLists.txt | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 309cf653c..b024be600 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -367,8 +367,6 @@ if(USE_BREAKPAD AND NOT LIBRETRO) ) target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/core/deps/breakpad/src) target_compile_definitions(${PROJECT_NAME} PRIVATE USE_BREAKPAD) -#[===[ NOTE: gdxsv-flycast uploads dSYM to sentry so no need these steps. - add_custom_target(dump_syms COMMAND xcodebuild -project ${CMAKE_CURRENT_SOURCE_DIR}/core/deps/breakpad/src/tools/mac/dump_syms/dump_syms.xcodeproj -target dump_syms -configuration Release CONFIGURATION_BUILD_DIR=${CMAKE_CURRENT_SOURCE_DIR}/build/breakpad) ADD_DEPENDENCIES(${PROJECT_NAME} dump_syms) @@ -380,10 +378,10 @@ if(USE_BREAKPAD AND NOT LIBRETRO) -a x86_64 -g ${CMAKE_CURRENT_BINARY_DIR}/$/Flycast.app.dSYM $ > ../symbols/Flycast-x64.sym - COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/build/breakpad/dump_syms - -a arm64 - -g ${CMAKE_CURRENT_BINARY_DIR}/$/Flycast.app.dSYM - $ > ../symbols/Flycast-arm64.sym + # COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/build/breakpad/dump_syms + # -a arm64 + # -g ${CMAKE_CURRENT_BINARY_DIR}/$/Flycast.app.dSYM + # $ > ../symbols/Flycast-arm64.sym ) else() add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD @@ -395,13 +393,12 @@ if(USE_BREAKPAD AND NOT LIBRETRO) -a x86_64 -g ${CMAKE_CURRENT_BINARY_DIR}/Flycast.app.dSYM $ > ../symbols/Flycast-x64.sym - COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/build/breakpad/dump_syms - -a arm64 - -g ${CMAKE_CURRENT_BINARY_DIR}/Flycast.app.dSYM - $ > ../symbols/Flycast-arm64.sym + # COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/build/breakpad/dump_syms + # -a arm64 + # -g ${CMAKE_CURRENT_BINARY_DIR}/Flycast.app.dSYM + # $ > ../symbols/Flycast-arm64.sym ) endif() -#]===] endif() endif()