mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-18 23:53:41 +02:00
build: added "debug" build option
This commit is contained in:
parent
39d74f1f20
commit
4844bd3171
28
build.sh
28
build.sh
@ -1,17 +1,28 @@
|
||||
#!/bin/bash
|
||||
|
||||
BUILD_TYPE=$1
|
||||
if [ -z $BUILD_TYPE ]; then
|
||||
BUILD_TYPE=Release
|
||||
fi
|
||||
|
||||
|
||||
source ./utils.sh
|
||||
pushd $(pwd)
|
||||
ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
MONERO_DIR=monero
|
||||
|
||||
if [ ! -d $MONERO_DIR ]; then
|
||||
$SHELL get_libwallet_api.sh
|
||||
$SHELL get_libwallet_api.sh $BUILD_TYPE
|
||||
fi
|
||||
|
||||
if [ ! -d build ]; then mkdir build; fi
|
||||
|
||||
CONFIG="CONFIG+=release"
|
||||
if [ $BUILD_TYPE == "Release" ]; then
|
||||
CONFIG="CONFIG+=release";
|
||||
else
|
||||
CONFIG="CONFIG+=debug"
|
||||
fi
|
||||
|
||||
|
||||
platform=$(get_platform)
|
||||
if [ "$platform" == "linux" ]; then
|
||||
@ -27,16 +38,3 @@ make
|
||||
make deploy
|
||||
popd
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user