mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-07-03 11:53:41 +02:00
build.sh: adding --libeosio flag
This commit is contained in:
parent
010edeb2f5
commit
95849b1e32
1 changed files with 6 additions and 2 deletions
8
build.sh
8
build.sh
|
|
@ -1,11 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
function usage() {
|
function usage() {
|
||||||
echo "Usage: ${0##*/} [ -h|--help ] [ --cli|--no-cli ] [ --gui|--no-gui] [ -t|--type Debug|Release|RelWithDebInfo|MinSizeRel ] [--pkg-type nsis|deb|zip|tgz] [ --disable-threads ] [ --force-ansi ]"
|
echo "Usage: ${0##*/} [ -h|--help ] [ --cli|--no-cli ] [ --gui|--no-gui] [ -t|--type Debug|Release|RelWithDebInfo|MinSizeRel ] [ --libeosio=<path> ] [ --pkg-type nsis|deb|zip|tgz ] [ --disable-threads ] [ --force-ansi ]"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
options=$(getopt -n "${0##*/}" -o "lht:" -l "help,cli,no-cli,gui,no-gui,type:,pkg-type:,disable-threads,force-ansi" -- "$@")
|
options=$(getopt -n "${0##*/}" -o "lht:" -l "help,cli,no-cli,gui,no-gui,type:,libeosio:,pkg-type:,disable-threads,force-ansi" -- "$@")
|
||||||
|
|
||||||
[ $? -eq 0 ] || usage
|
[ $? -eq 0 ] || usage
|
||||||
|
|
||||||
|
|
@ -35,6 +35,10 @@ while true; do
|
||||||
TARGET="package"
|
TARGET="package"
|
||||||
ARGS="${ARGS} -DCPACK_GENERATOR=${1^^}"
|
ARGS="${ARGS} -DCPACK_GENERATOR=${1^^}"
|
||||||
;;
|
;;
|
||||||
|
--libeosio)
|
||||||
|
shift
|
||||||
|
ARGS="${ARGS} -DLIBEOSIO_SOURCE_DIR=${1}"
|
||||||
|
;;
|
||||||
--cli)
|
--cli)
|
||||||
ARGS="${ARGS} -DCOMPONENT_CLI=ON" ;;
|
ARGS="${ARGS} -DCOMPONENT_CLI=ON" ;;
|
||||||
--no-cli)
|
--no-cli)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue