From c92576f65cbbdcd173973d984a87c3c9d3bcb36d Mon Sep 17 00:00:00 2001 From: Guenter Obiltschnig Date: Tue, 6 Oct 2015 14:32:03 +0200 Subject: [PATCH] add --typical, --minimal and --everything options --- configure | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 9815e9fa1..0d4f7d9b3 100755 --- a/configure +++ b/configure @@ -39,6 +39,15 @@ Options: --no-samples Do not build samples. + + --minimal + Build only Foundation, XML, JSON, Util and Net. + + --typical (default) + Build only Foundation, XML, JSON, Util, Net, Crypto, NetSSL, Data/SQLite and Zip. + + --everything + Build everything. --no-wstring Compile with -DPOCO_NO_WSTRING. @@ -126,7 +135,6 @@ cd $build tests=1 samples=1 flags="" -omit="" includepath="" librarypath="" odbclib="" @@ -134,6 +142,9 @@ odbcinclude="" unbundled="" static="" shared="" +omitMinimal="Crypto,NetSSL_OpenSSL,Zip,Data,Data/SQLite,Data/ODBC,Data/MySQL,MongoDB,PDF,CppParser,PageCompiler" +omitTypical="Data/ODBC,Data/MySQL,MongoDB,PDF,CppParser" +omit=$omitTypical # parse arguments while [ $# -ge 1 ]; do case "$1" in @@ -198,6 +209,15 @@ while [ $# -ge 1 ]; do flags="$flags -DPOCO_UNBUNDLED" unbundled=1 ;; + + --minimal) + omit=$omitMinimal ;; + + --typical) + omit=$omitTypical ;; + + --everything) + omit="" ;; --static) static=1 ;;