mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 10:17:55 -06:00
Update BuildLinux.sh (#3679)
* Update BuildLinux.sh Echo the cmake command. Helps with transparency of what command/parameters are being used. Helps point users in the right direction if they want to build via an IDE. * Update BuildLinux.sh
This commit is contained in:
parent
f4cf1c706b
commit
9b76f51bd3
1 changed files with 4 additions and 1 deletions
|
@ -163,9 +163,10 @@ then
|
||||||
fi
|
fi
|
||||||
if [[ -n "$BUILD_DEBUG" ]]
|
if [[ -n "$BUILD_DEBUG" ]]
|
||||||
then
|
then
|
||||||
# have to build deps with debug & release or the cmake won't find evrything it needs
|
# have to build deps with debug & release or the cmake won't find everything it needs
|
||||||
mkdir deps/build/release
|
mkdir deps/build/release
|
||||||
pushd deps/build/release
|
pushd deps/build/release
|
||||||
|
echo -e "cmake ../.. -DDESTDIR=\"../destdir\" $BUILD_ARGS"
|
||||||
cmake ../.. -DDESTDIR="../destdir" $BUILD_ARGS
|
cmake ../.. -DDESTDIR="../destdir" $BUILD_ARGS
|
||||||
make -j$NCORES
|
make -j$NCORES
|
||||||
popd
|
popd
|
||||||
|
@ -174,6 +175,7 @@ then
|
||||||
|
|
||||||
# cmake deps
|
# cmake deps
|
||||||
pushd deps/build
|
pushd deps/build
|
||||||
|
echo "cmake .. $BUILD_ARGS"
|
||||||
cmake .. $BUILD_ARGS
|
cmake .. $BUILD_ARGS
|
||||||
echo "done"
|
echo "done"
|
||||||
|
|
||||||
|
@ -225,6 +227,7 @@ then
|
||||||
|
|
||||||
# cmake
|
# cmake
|
||||||
pushd build
|
pushd build
|
||||||
|
echo -e "cmake .. -DCMAKE_PREFIX_PATH=\"$PWD/../deps/build/destdir/usr/local\" -DSLIC3R_STATIC=1 ${BUILD_ARGS}"
|
||||||
cmake .. -DCMAKE_PREFIX_PATH="$PWD/../deps/build/destdir/usr/local" -DSLIC3R_STATIC=1 ${BUILD_ARGS}
|
cmake .. -DCMAKE_PREFIX_PATH="$PWD/../deps/build/destdir/usr/local" -DSLIC3R_STATIC=1 ${BUILD_ARGS}
|
||||||
echo "done"
|
echo "done"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue