aboutsummaryrefslogtreecommitdiff
blob: b90d0b998377a69838ceb74f10efd8dc908f0079 (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
#!/bin/bash

BUILDTYPE=$1
CONFIGURED="false"

echo Configuring for $BUILDTYPE

case "$BUILDTYPE" in
	"jahshaka")
		echo build jahshaka
		cp -vf jahshakaSettings.pro Settings.pro
		${QTDIR}/bin/qmake jahshaka.pro
		CONFIGURED="true"
	;;
	"jahplayer")
		echo build jahplayer
		cp -vf jahplayerSettings.pro Settings.pro
		${QTDIR}/bin/qmake jahplayer.pro
		CONFIGURED="true"
	;;
	* )
		echo nothing entered or invalid entry
		echo build jahshaka
		cp -vf jahshakaSettings.pro Settings.pro
		${QTDIR}/bin/qmake jahshaka.pro
		CONFIGURED="true"
	;;
esac