From 9b76f51bd3f6d975bbca3449634c3bc581930517 Mon Sep 17 00:00:00 2001 From: Ocraftyone Date: Mon, 15 Jan 2024 09:34:25 -0500 Subject: [PATCH] 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 --- BuildLinux.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/BuildLinux.sh b/BuildLinux.sh index 099cc0a895..94b250ba5a 100755 --- a/BuildLinux.sh +++ b/BuildLinux.sh @@ -163,9 +163,10 @@ then fi if [[ -n "$BUILD_DEBUG" ]] 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 pushd deps/build/release + echo -e "cmake ../.. -DDESTDIR=\"../destdir\" $BUILD_ARGS" cmake ../.. -DDESTDIR="../destdir" $BUILD_ARGS make -j$NCORES popd @@ -174,6 +175,7 @@ then # cmake deps pushd deps/build + echo "cmake .. $BUILD_ARGS" cmake .. $BUILD_ARGS echo "done" @@ -225,6 +227,7 @@ then # cmake 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} echo "done"