mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-03 00:02:14 +00:00
feature update bat for build project
This commit is contained in:
@@ -103,6 +103,8 @@ option(SLIC3R_ASAN "Enable ASan on Clang and GCC" 0)
|
|||||||
# Sentry crash reporting - enabled only on Windows by default
|
# Sentry crash reporting - enabled only on Windows by default
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
set(SLIC3R_SENTRY_DEFAULT ON)
|
set(SLIC3R_SENTRY_DEFAULT ON)
|
||||||
|
elseif (APPLE)
|
||||||
|
set(SLIC3R_SENTRY_DEFAULT ON)
|
||||||
else()
|
else()
|
||||||
set(SLIC3R_SENTRY_DEFAULT OFF)
|
set(SLIC3R_SENTRY_DEFAULT OFF)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ if "%1"=="slicer" (
|
|||||||
echo "building deps.."
|
echo "building deps.."
|
||||||
|
|
||||||
echo on
|
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
|
cmake --build . --config %build_type% --target deps -- -m
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user