blob: a383ff36da028fb16ad78fd091d9b3039e1abbbc (
plain) (
blame)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
--- create_build_files4.sh.orig 2013-08-02 21:08:28 UTC
+++ create_build_files4.sh
@@ -4,7 +4,7 @@
shared=""
arch=""
wxroot=""
-wxpath=`wx-config --prefix`
+wxpath=`%%WX_CONFIG%% --prefix`
# These works only on wxWidgets 2.8.10+
#wxcharset=`wx-config --query-chartype`
@@ -63,7 +63,7 @@ done
# Autodetect wxWidgets version
if [ "$wxroot" = "" ]; then
- wxver=`wx-config --release`
+ wxver=`%%WX_CONFIG%% --release`
else
wxpath=${wxroot#-*=}
wxver=`$wxpath/wx-config --release`
@@ -72,9 +72,9 @@ fi
wxversion="--wx-version="$wxver
# Autodetect OS
+unamestr=`uname`
isbsd=`expr "$unamestr" : '.*BSD'`
platform="unknown"
-unamestr=$(uname)
if ( [ "$isbsd" -gt "0" ] ); then
platform="bsd"
@@ -86,12 +86,12 @@ fi
# Build premake
cd build
-make CONFIG=Release -C./premake/$platform
+gmake CONFIG=Release -C./premake/$platform
-./premake/$platform/bin/release/premake4 --file=./premake/solution.lua $wxunicode $wxroot $wxversion $mediactrl $shared $arch codeblocks
-./premake/$platform/bin/release/premake4 --file=./premake/solution.lua $wxunicode $wxroot $wxversion $mediactrl $shared $arch $rpath codelite
+#./premake/$platform/bin/release/premake4 --file=./premake/solution.lua $wxunicode $wxroot $wxversion $mediactrl $shared $arch codeblocks
+#./premake/$platform/bin/release/premake4 --file=./premake/solution.lua $wxunicode $wxroot $wxversion $mediactrl $shared $arch $rpath codelite
./premake/$platform/bin/release/premake4 --file=./premake/solution.lua $wxunicode $wxroot $wxversion $mediactrl $shared $arch $rpath gmake
-if [ "$platform" = "macosx" ]; then
- ./premake/$platform/bin/release/premake4 --file=./premake/solution.lua $wxunicode $wxroot $wxversion $mediactrl $shared $arch xcode3
-fi
+#if [ "$platform" = "macosx" ]; then
+# ./premake/$platform/bin/release/premake4 --file=./premake/solution.lua $wxunicode $wxroot $wxversion $mediactrl $shared $arch xcode3
+#fi
|