1
0
Fork 0
forked from fun/fun

./make update. No code changes. (0.37.56)

This commit is contained in:
Johannes Findeisen 2026-01-16 08:34:30 +01:00
commit c64d87f877

68
make
View file

@ -31,9 +31,6 @@ if [ "$target" = "all" ]; then
-DFUN_WITH_TCLTK=ON \ -DFUN_WITH_TCLTK=ON \
-DFUN_WITH_INI=ON \ -DFUN_WITH_INI=ON \
-DFUN_WITH_NOTCURSES=ON \ -DFUN_WITH_NOTCURSES=ON \
-DFUN_LINK_STATIC=OFF \
-DFUN_USE_MUSL=OFF \
-DFUN_DEBUG=OFF \
&& cmake --build build --target fun && cmake --build build --target fun
elif [ "$target" = "all_debug" ]; then elif [ "$target" = "all_debug" ]; then
rm -rf build \ rm -rf build \
@ -48,14 +45,11 @@ elif [ "$target" = "all_debug" ]; then
-DFUN_WITH_JSON=ON \ -DFUN_WITH_JSON=ON \
-DFUN_WITH_TCLTK=ON \ -DFUN_WITH_TCLTK=ON \
-DFUN_WITH_INI=ON \ -DFUN_WITH_INI=ON \
-DFUN_LINK_STATIC=OFF \
-DFUN_USE_MUSL=OFF \
-DFUN_DEBUG=ON \ -DFUN_DEBUG=ON \
&& cmake --build build --target fun && cmake --build build --target fun
elif [ "$target" = "alpine" ]; then elif [ "$target" = "alpine" ]; then
rm -rf build \ rm -rf build \
&& cmake -S . -B build \ && cmake -S . -B build \
-DFUN_WITH_PCSC=OFF \
-DFUN_WITH_REPL=ON \ -DFUN_WITH_REPL=ON \
-DFUN_WITH_LIBSQL=ON \ -DFUN_WITH_LIBSQL=ON \
-DFUN_WITH_SQLITE=ON \ -DFUN_WITH_SQLITE=ON \
@ -63,97 +57,36 @@ elif [ "$target" = "alpine" ]; then
-DFUN_WITH_PCRE2=ON \ -DFUN_WITH_PCRE2=ON \
-DFUN_WITH_XML2=ON \ -DFUN_WITH_XML2=ON \
-DFUN_WITH_JSON=ON \ -DFUN_WITH_JSON=ON \
-DFUN_WITH_TCLTK=OFF \
-DFUN_WITH_INI=ON \ -DFUN_WITH_INI=ON \
-DFUN_LINK_STATIC=OFF \
-DFUN_USE_MUSL=ON \ -DFUN_USE_MUSL=ON \
-DFUN_DEBUG=OFF \
&& cmake --build build --target fun && cmake --build build --target fun
elif [ "$target" = "debug" ]; then elif [ "$target" = "debug" ]; then
rm -rf build \ rm -rf build \
&& cmake -S . -B build \ && cmake -S . -B build \
-DFUN_WITH_PCSC=OFF \
-DFUN_WITH_REPL=ON \ -DFUN_WITH_REPL=ON \
-DFUN_WITH_LIBSQL=OFF \
-DFUN_WITH_SQLITE=OFF \
-DFUN_WITH_CURL=OFF \
-DFUN_WITH_PCRE2=OFF \
-DFUN_WITH_XML2=OFF \
-DFUN_WITH_JSON=OFF \
-DFUN_WITH_TCLTK=OFF \
-DFUN_WITH_INI=OFF \
-DFUN_LINK_STATIC=OFF \
-DFUN_USE_MUSL=OFF \
-DFUN_DEBUG=ON \ -DFUN_DEBUG=ON \
&& cmake --build build --target fun && cmake --build build --target fun
elif [ "$target" = "freebsd" ]; then elif [ "$target" = "freebsd" ]; then
rm -rf build \ rm -rf build \
&& cmake -S . -B build \ && cmake -S . -B build \
-DFUN_WITH_PCSC=OFF \
-DFUN_WITH_REPL=ON \ -DFUN_WITH_REPL=ON \
-DFUN_WITH_LIBSQL=OFF \
-DFUN_WITH_SQLITE=OFF \
-DFUN_WITH_CURL=OFF \
-DFUN_WITH_PCRE2=OFF \
-DFUN_WITH_XML2=OFF \
-DFUN_WITH_JSON=OFF \
-DFUN_WITH_TCLTK=OFF \
-DFUN_WITH_INI=OFF \
-DFUN_LINK_STATIC=OFF \
-DFUN_DEBUG=OFF \
&& cmake --build build --target fun && cmake --build build --target fun
elif [ "$target" = "install" ]; then elif [ "$target" = "install" ]; then
sudo cmake --build build --target install sudo cmake --build build --target install
elif [ "$target" = "minimal" ]; then elif [ "$target" = "minimal" ]; then
rm -rf build \ rm -rf build \
&& cmake -S . -B build \ && cmake -S . -B build \
-DFUN_WITH_PCSC=OFF \
-DFUN_WITH_REPL=OFF \
-DFUN_WITH_LIBSQL=OFF \
-DFUN_WITH_SQLITE=OFF \
-DFUN_WITH_CURL=OFF \
-DFUN_WITH_PCRE2=OFF \
-DFUN_WITH_XML2=OFF \
-DFUN_WITH_JSON=OFF \
-DFUN_WITH_TCLTK=OFF \
-DFUN_WITH_INI=OFF \
-DFUN_LINK_STATIC=OFF \
-DFUN_USE_MUSL=OFF \
-DFUN_DEBUG=OFF \
&& cmake --build build --target fun && cmake --build build --target fun
elif [ "$target" = "musl" ]; then elif [ "$target" = "musl" ]; then
rm -rf build \ rm -rf build \
&& cmake -S . -B build \ && cmake -S . -B build \
-DFUN_WITH_PCSC=OFF \
-DFUN_WITH_REPL=ON \ -DFUN_WITH_REPL=ON \
-DFUN_WITH_LIBSQL=OFF \
-DFUN_WITH_SQLITE=OFF \
-DFUN_WITH_CURL=OFF \
-DFUN_WITH_PCRE2=OFF \
-DFUN_WITH_XML2=OFF \
-DFUN_WITH_JSON=OFF \
-DFUN_WITH_TCLTK=OFF \
-DFUN_WITH_INI=OFF \
-DFUN_LINK_STATIC=OFF \
-DFUN_USE_MUSL=ON \ -DFUN_USE_MUSL=ON \
-DFUN_DEBUG=OFF \
&& cmake --build build --target fun && cmake --build build --target fun
elif [ "$target" = "repl" ]; then elif [ "$target" = "repl" ]; then
rm -rf build \ rm -rf build \
&& cmake -S . -B build \ && cmake -S . -B build \
-DFUN_WITH_PCSC=OFF \
-DFUN_WITH_REPL=ON \ -DFUN_WITH_REPL=ON \
-DFUN_WITH_LIBSQL=OFF \
-DFUN_WITH_SQLITE=OFF \
-DFUN_WITH_CURL=OFF \
-DFUN_WITH_PCRE2=OFF \
-DFUN_WITH_XML2=OFF \
-DFUN_WITH_JSON=OFF \
-DFUN_WITH_TCLTK=OFF \
-DFUN_WITH_INI=OFF \
-DFUN_LINK_STATIC=OFF \
-DFUN_USE_MUSL=OFF \
-DFUN_DEBUG=OFF \
&& cmake --build build --target fun && cmake --build build --target fun
else else
echo "Build target $target not found... aborting!"; echo "Build target $target not found... aborting!";
@ -168,3 +101,4 @@ else
echo " - musl"; echo " - musl";
echo " - repl"; echo " - repl";
fi fi