summaryrefslogtreecommitdiff
path: root/muse2/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/build.sh')
-rwxr-xr-xmuse2/build.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/muse2/build.sh b/muse2/build.sh
new file mode 100755
index 00000000..96ad329f
--- /dev/null
+++ b/muse2/build.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+if [ -d build ]; then
+ echo "Build dir already exists"
+else
+ echo "Create build dir"
+ mkdir build
+fi
+cd build
+cmake -DCMAKE_BUILD_TYPE=release .. && make && echo "\nBuild was OK, now enter the 'build' dir and run 'make install' as root"
+