From 7c88cd127a9f0ce10af75bfbf62d722037e58e72 Mon Sep 17 00:00:00 2001 From: alves Date: Tue, 9 Dec 2025 13:09:07 +0800 Subject: [PATCH] feature update bat for build project --- CMakeLists.txt | 2 ++ build_release_vs2022.bat | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b1c0ce23c7..c43dec8756 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -103,6 +103,8 @@ option(SLIC3R_ASAN "Enable ASan on Clang and GCC" 0) # Sentry crash reporting - enabled only on Windows by default if (WIN32) set(SLIC3R_SENTRY_DEFAULT ON) +elseif (APPLE) + set(SLIC3R_SENTRY_DEFAULT ON) else() set(SLIC3R_SENTRY_DEFAULT OFF) endif() diff --git a/build_release_vs2022.bat b/build_release_vs2022.bat index 2724bf876f..488f02fe07 100644 --- a/build_release_vs2022.bat +++ b/build_release_vs2022.bat @@ -47,7 +47,7 @@ if "%1"=="slicer" ( echo "building deps.." echo on -cmake ../ -G "Visual Studio 17 2022" -A x64 -DDESTDIR="%DEPS%" -DCMAKE_BUILD_TYPE=%build_type% -DDEP_DEBUG=%debug% -DORCA_INCLUDE_DEBUG_INFO=%debuginfo% -DSLIC3R_SENTRY=ON +cmake ../ -G "Visual Studio 17 2022" -A x64 -DDESTDIR="%DEPS%" -DCMAKE_BUILD_TYPE=%build_type% -DDEP_DEBUG=%debug% -DORCA_INCLUDE_DEBUG_INFO=%debuginfo% cmake --build . --config %build_type% --target deps -- -m @echo off