summaryrefslogtreecommitdiff
path: root/muse/gen
blob: afa57d5c5a902e7b54b5cff3f1291e5fa2961a63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh

#
#  out of source build
#     all generated files go into subdirectory "build"
#
#  NOTICE:
#     this does (yet) not work; for unknown reasons *.ui file
#     dependencies are not properly handled
#

if test ! -d build; 
   then
      echo "+creating build directory"
      mkdir build
      echo "+entering build directory"
      cd build
      echo "+calling cmake"
      cmake ..
   else
      cd build
   fi

# ahem... hack
cp ../all.h .

echo "+start top level make..."
make