summaryrefslogtreecommitdiff
path: root/muse2/compile_muse.sh
diff options
context:
space:
mode:
authorRobert Jonsson <spamatica@gmail.com>2010-12-22 11:25:44 +0000
committerRobert Jonsson <spamatica@gmail.com>2010-12-22 11:25:44 +0000
commitfed4a6f0615305a4fba603fb49d2f67b878675b7 (patch)
tree855af532259171b1a0a12ac1c41541abd71f4518 /muse2/compile_muse.sh
parentbc330d308e0c284ee4e18a60295f124d6c14d2c2 (diff)
rename script as it wasn't put into package
Diffstat (limited to 'muse2/compile_muse.sh')
-rwxr-xr-xmuse2/compile_muse.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/muse2/compile_muse.sh b/muse2/compile_muse.sh
new file mode 100755
index 00000000..96ad329f
--- /dev/null
+++ b/muse2/compile_muse.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"
+