diff options
author | Robert Jonsson <spamatica@gmail.com> | 2010-12-22 09:38:49 +0000 |
---|---|---|
committer | Robert Jonsson <spamatica@gmail.com> | 2010-12-22 09:38:49 +0000 |
commit | 99844e668228c35533b56f1313a884392131ef32 (patch) | |
tree | be1c917196a8e6a83cd3346a8cf6c9d4c6f3c13c /muse2/build.sh | |
parent | bf26258690af9e23318fe8829a5d18c1f670e009 (diff) |
added simple build script
Diffstat (limited to 'muse2/build.sh')
-rwxr-xr-x | muse2/build.sh | 11 |
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" + |