diff --git a/make b/make index a168844..5fc2e20 100755 --- a/make +++ b/make @@ -31,9 +31,6 @@ if [ "$target" = "all" ]; then -DFUN_WITH_TCLTK=ON \ -DFUN_WITH_INI=ON \ -DFUN_WITH_NOTCURSES=ON \ - -DFUN_LINK_STATIC=OFF \ - -DFUN_USE_MUSL=OFF \ - -DFUN_DEBUG=OFF \ && cmake --build build --target fun elif [ "$target" = "all_debug" ]; then rm -rf build \ @@ -48,14 +45,11 @@ elif [ "$target" = "all_debug" ]; then -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 \ - -DFUN_WITH_PCSC=OFF \ -DFUN_WITH_REPL=ON \ -DFUN_WITH_LIBSQL=ON \ -DFUN_WITH_SQLITE=ON \ @@ -63,97 +57,36 @@ elif [ "$target" = "alpine" ]; then -DFUN_WITH_PCRE2=ON \ -DFUN_WITH_XML2=ON \ -DFUN_WITH_JSON=ON \ - -DFUN_WITH_TCLTK=OFF \ -DFUN_WITH_INI=ON \ - -DFUN_LINK_STATIC=OFF \ -DFUN_USE_MUSL=ON \ - -DFUN_DEBUG=OFF \ && cmake --build build --target fun elif [ "$target" = "debug" ]; then rm -rf build \ && cmake -S . -B build \ - -DFUN_WITH_PCSC=OFF \ -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 \ && cmake --build build --target fun elif [ "$target" = "freebsd" ]; then rm -rf build \ && cmake -S . -B build \ - -DFUN_WITH_PCSC=OFF \ -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 elif [ "$target" = "install" ]; then sudo cmake --build build --target install elif [ "$target" = "minimal" ]; then rm -rf 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 elif [ "$target" = "musl" ]; then rm -rf build \ && cmake -S . -B build \ - -DFUN_WITH_PCSC=OFF \ -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_DEBUG=OFF \ && cmake --build build --target fun elif [ "$target" = "repl" ]; then rm -rf build \ && cmake -S . -B build \ - -DFUN_WITH_PCSC=OFF \ -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 else echo "Build target $target not found... aborting!"; @@ -168,3 +101,4 @@ else echo " - musl"; echo " - repl"; fi +