summaryrefslogtreecommitdiff
path: root/gen
diff options
context:
space:
mode:
Diffstat (limited to 'gen')
-rwxr-xr-xgen27
1 files changed, 27 insertions, 0 deletions
diff --git a/gen b/gen
new file mode 100755
index 00000000..6097c160
--- /dev/null
+++ b/gen
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+#
+# out of source build of MusE
+# all generated files go into subdirectory "build"
+#
+
+if test ! -d build;
+ then
+ echo "+creating build directory"
+ mkdir build
+ echo "+entering build directory"
+ cd build
+
+ # HACK:
+ cp ../muse/all.h .
+
+ echo "+calling cmake"
+ cmake ../muse
+ else
+ echo "+entering build directory"
+ cd build
+ fi
+
+echo "+start top level make..."
+make
+