mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Linux: modify official build script to use different build directories for wxWidgets console and GUI builds.
This commit is contained in:
@@ -24,13 +24,24 @@ fi
|
|||||||
export WX_ROOT=$PARENTDIR/wxWidgets-3.0.2
|
export WX_ROOT=$PARENTDIR/wxWidgets-3.0.2
|
||||||
echo "Using wxWidgets sources in $WX_ROOT"
|
echo "Using wxWidgets sources in $WX_ROOT"
|
||||||
|
|
||||||
# this will be the temporary wxWidgets directory
|
|
||||||
export WX_BUILD_DIR=$PARENTDIR/wxBuild
|
|
||||||
|
|
||||||
cd $SOURCEPATH
|
cd $SOURCEPATH
|
||||||
|
|
||||||
echo "Building GUI version of VeraCrypt"
|
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
|
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"
|
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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user