File: build-kst

package info (click to toggle)
kst 2.0.8-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 30,844 kB
  • sloc: cpp: 97,086; ansic: 13,364; python: 2,970; sh: 761; yacc: 184; lex: 143; makefile: 141; javascript: 122; xml: 30; perl: 30
file content (32 lines) | stat: -rwxr-xr-x 516 bytes parent folder | download | duplicates (8)
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
30
31
32
#!/bin/sh

cd `dirname $0`

export SCRIPTDIR=$PWD
export BUILDDIR=$PWD/build

echo "Building Kst from $SCRIPTDIR into $BUILDDIR"

if [ "$1" = "release" ]
then
  echo "Building in Release mode"
  export KST_DEBUG_MODE=0
else
  echo "Building in Debug mode"
  export KST_DEBUG_MODE=1
fi

if [ "$2" ]
then
  echo "Output directory of $2 has been requested"
  export OUTPUT_DIR=$2
fi

mkdir -p $BUILDDIR
cd $BUILDDIR
qmake -r $SCRIPTDIR/kst.pro
#qmake-qt4 $SCRIPTDIR/kst.pro -r -spec linux-g++

make -j3
#make -j 3 -w