1
0
Fork 0
forked from fun/fun

Added an OS based random number generator (RNG). (0.37.11)

This commit is contained in:
Johannes Findeisen 2025-12-13 01:14:17 +01:00
commit 87f540797b
12 changed files with 216 additions and 21 deletions

36
make
View file

@ -34,6 +34,23 @@ if [ "$target" = "all" ]; then
-DFUN_USE_MUSL=OFF \
-DFUN_DEBUG=OFF \
&& cmake --build build --target fun
elif [ "$target" = "all_debug" ]; then
rm -rf build \
&& 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_LINK_STATIC=OFF \
-DFUN_USE_MUSL=OFF \
-DFUN_DEBUG=ON \
&& cmake --build build --target fun
elif [ "$target" = "alpine" ]; then
rm -rf build \
&& cmake -S . -B build \
@ -67,23 +84,6 @@ elif [ "$target" = "debug" ]; then
-DFUN_USE_MUSL=OFF \
-DFUN_DEBUG=ON \
&& cmake --build build --target fun
elif [ "$target" = "debug_all" ]; then
rm -rf build \
&& 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_LINK_STATIC=OFF \
-DFUN_USE_MUSL=OFF \
-DFUN_DEBUG=ON \
&& cmake --build build --target fun
elif [ "$target" = "freebsd" ]; then
rm -rf build \
&& cmake -S . -B build \
@ -155,9 +155,9 @@ else
echo "Build target $target not found... aborting!";
echo "Available targets:";
echo " - all";
echo " - all_debug";
echo " - alpine";
echo " - debug";
echo " - debug_all";
echo " - freebsd";
echo " - minimal";
echo " - musl";