Skip to content

Commit

Permalink
Update metacall-configure.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga authored Jan 24, 2024
1 parent 1e142d8 commit ceeb1af
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tools/metacall-configure.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ $Global:BUILD_V8 = 0
$Global:BUILD_NODEJS = 0
$Global:BUILD_TYPESCRIPT = 0
$Global:BUILD_RUST = 0
$Global:BUILD_ZIG = 0
$Global:BUILD_FILE = 0
$Global:BUILD_RPC = 0
$Global:BUILD_WASM = 0
Expand Down Expand Up @@ -99,6 +100,10 @@ function sub-options {
echo "Build with rust support"
$Global:BUILD_RUST = 1
}
if ("$option" -eq 'zig') {
echo "Build with zig support"
$Global:BUILD_ZIG = 1
}
if ("$option" -eq 'file') {
echo "Build with file support"
$Global:BUILD_FILE = 1
Expand Down Expand Up @@ -298,7 +303,8 @@ function sub-configure {
}

# Zig
if ($BUILD_RUST -eq 1) {
if ($BUILD_ZIG -eq 1) {
# TODO
# $Global:BUILD_STRING = "$BUILD_STRING -DOPTION_BUILD_LOADERS_ZIG=On"

# if ($BUILD_SCRIPTS -eq 1) {
Expand Down Expand Up @@ -450,6 +456,8 @@ function sub-help {
echo " v8: build with v8 support"
echo " nodejs: build with nodejs support"
echo " typescript: build with typescript support"
echo " rust: build with rust support"
echo " zig: build with zig support"
echo " file: build with file support"
echo " rpc: build with rpc support"
echo " wasm: build with wasm support"
Expand Down

0 comments on commit ceeb1af

Please sign in to comment.