mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +00:00
- BuildLinux Improvements:
- Add BBL_RELEASE_TO_PUBLIC for non-debug builds - Increase cmake jobs
This commit is contained in:
@@ -3,6 +3,7 @@ set -e # exit on first error
|
|||||||
|
|
||||||
export ROOT=`pwd`
|
export ROOT=`pwd`
|
||||||
export NCORES=`nproc --all`
|
export NCORES=`nproc --all`
|
||||||
|
export CMAKE_BUILD_PARALLEL_LEVEL=${NCORES}
|
||||||
FOUND_GTK2=$(dpkg -l libgtk* | grep gtk2)
|
FOUND_GTK2=$(dpkg -l libgtk* | grep gtk2)
|
||||||
FOUND_GTK3=$(dpkg -l libgtk* | grep gtk-3)
|
FOUND_GTK3=$(dpkg -l libgtk* | grep gtk-3)
|
||||||
|
|
||||||
@@ -192,6 +193,8 @@ then
|
|||||||
if [[ -n "$BUILD_DEBUG" ]]
|
if [[ -n "$BUILD_DEBUG" ]]
|
||||||
then
|
then
|
||||||
BUILD_ARGS="${BUILD_ARGS} -DCMAKE_BUILD_TYPE=Debug"
|
BUILD_ARGS="${BUILD_ARGS} -DCMAKE_BUILD_TYPE=Debug"
|
||||||
|
else
|
||||||
|
BUILD_ARGS="${BUILD_ARGS} -DBBL_RELEASE_TO_PUBLIC=1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# cmake
|
# cmake
|
||||||
|
|||||||
Reference in New Issue
Block a user