Skip to content

Commit

Permalink
Linux: modify official build script to use different build directorie…
Browse files Browse the repository at this point in the history
…s for wxWidgets console and GUI builds.
  • Loading branch information
idrassi committed Aug 6, 2015
1 parent ff0ab2d commit 96520e2
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions src/Build/build_veracrypt_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 96520e2

Please sign in to comment.