VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Build/build_veracrypt_linux.sh
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-08-06 05:57:24 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-08-06 12:31:32 +0200
commit96520e22bd3cb44411d7d096473ac048d5855f9d (patch)
treecff865b747fde86ab830f059f6b6795c13ad9f5c /src/Build/build_veracrypt_linux.sh
parentff0ab2da93b5fe960702306f35d6a91cf4de1089 (diff)
downloadVeraCrypt-96520e22bd3cb44411d7d096473ac048d5855f9d.tar.gz
VeraCrypt-96520e22bd3cb44411d7d096473ac048d5855f9d.zip
Linux: modify official build script to use different build directories for wxWidgets console and GUI builds.VeraCrypt_1.12
Diffstat (limited to 'src/Build/build_veracrypt_linux.sh')
-rwxr-xr-xsrc/Build/build_veracrypt_linux.sh17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/Build/build_veracrypt_linux.sh b/src/Build/build_veracrypt_linux.sh
index bc4b84f7..0d2dd82a 100755
--- a/src/Build/build_veracrypt_linux.sh
+++ b/src/Build/build_veracrypt_linux.sh
@@ -24,13 +24,24 @@ fi
export WX_ROOT=$PARENTDIR/wxWidgets-3.0.2
echo "Using wxWidgets sources in $WX_ROOT"
-# this will be the temporary wxWidgets directory
-export WX_BUILD_DIR=$PARENTDIR/wxBuild
-
cd $SOURCEPATH
echo "Building GUI version of VeraCrypt"
+
+# this will be the temporary wxWidgets directory
+export WX_BUILD_DIR=$PARENTDIR/wxBuildGui
+
make WXSTATIC=1 wxbuild && make WXSTATIC=1 clean && make WXSTATIC=1
+# Uncomment below and comment line above to reuse existing wxWidgets build
+# make WXSTATIC=1 clean && make WXSTATIC=1
+
echo "Building console version of VeraCrypt"
+
+# this will be the temporary wxWidgets directory
+export WX_BUILD_DIR=$PARENTDIR/wxBuildConsole
+
make WXSTATIC=1 NOGUI=1 wxbuild && make WXSTATIC=1 NOGUI=1 clean && make WXSTATIC=1 NOGUI=1
+
+# Uncomment below and comment line above to reuse existing wxWidgets build
+# make WXSTATIC=1 NOGUI=1 clean && make WXSTATIC=1 NOGUI=1