1
0
Fork 0
forked from fun/fun

Some arg Fun in Rust. (0.38.1)

This commit is contained in:
Johannes Findeisen 2026-01-29 00:53:34 +01:00
commit 543483041b
16 changed files with 167 additions and 66 deletions

23
make
View file

@ -88,6 +88,27 @@ elif [ "$target" = "repl" ]; then
&& cmake -S . -B build \
-DFUN_WITH_REPL=ON \
&& cmake --build build --target fun
elif [ "$target" = "rust_all" ]; then
rm -rf build && rm -rf src/rust/target \
&& cmake -S . -B build \
-DFUN_WITH_PCSC=ON \
-DFUN_WITH_REPL=ON \
-DFUN_WITH_LIBSQL=ON \
-DFUN_WITH_SQLITE=ON \
-DFUN_WITH_CURL=ON \
-DFUN_WITH_PCRE2=ON \
-DFUN_WITH_XML2=ON \
-DFUN_WITH_JSON=ON \
-DFUN_WITH_TCLTK=ON \
-DFUN_WITH_INI=ON \
-DFUN_WITH_RUST=ON \
-DFUN_DEBUG=OFF \
&& cmake --build build --target fun
elif [ "$target" = "rust_minimal" ]; then
rm -rf build && rm -rf src/rust/target \
&& cmake -S . -B build \
-DFUN_WITH_RUST=ON \
&& cmake --build build --target fun
else
echo "Build target $target not found... aborting!";
echo "Available targets:";
@ -100,5 +121,7 @@ else
echo " - minimal";
echo " - musl";
echo " - repl";
echo " - rust_all";
echo " - rust_minimal";
fi