Skip to content

Commit

Permalink
Update metacall-configure.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga authored Jan 24, 2024
1 parent ceeb1af commit 4ebd351
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tools/metacall-configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# MetaCall Build Shell Script by Parra Studios
# Build and install shell script utility for MetaCall.
#
# Copyright (C) 2016 - 2022 Vicente Eduardo Ferrer Garcia <[email protected]>
# Copyright (C) 2016 - 2024 Vicente Eduardo Ferrer Garcia <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -40,6 +40,7 @@ BUILD_C=0
BUILD_COBOL=0
BUILD_GO=0
BUILD_RUST=0
BUILD_ZIG=0
BUILD_SCRIPTS=0
BUILD_EXAMPLES=0
BUILD_TESTS=0
Expand Down Expand Up @@ -155,6 +156,10 @@ sub_options() {
echo "Build with rust support"
BUILD_RUST=1
fi
if [ "$option" = 'zig' ]; then
echo "Build with zig support"
BUILD_ZIG=1
fi
if [ "$option" = 'scripts' ]; then
echo "Build all scripts"
BUILD_SCRIPTS=1
Expand Down Expand Up @@ -439,6 +444,7 @@ sub_configure() {

# Zig
if [ $BUILD_ZIG = 1 ]; then
# TODO
# BUILD_STRING="$BUILD_STRING -DOPTION_BUILD_LOADERS_ZIG=On"

# if [ $BUILD_SCRIPTS = 1 ]; then
Expand Down Expand Up @@ -550,6 +556,7 @@ sub_help() {
echo " cobol: build with cobol support"
echo " go: build with go support"
echo " rust: build with rust support"
echo " zig: build with zig support"
echo " scripts: build all scripts"
echo " examples: build all examples"
echo " tests: build and run all tests"
Expand Down

0 comments on commit 4ebd351

Please sign in to comment.