add --typical, --minimal and --everything options

This commit is contained in:
Guenter Obiltschnig 2015-10-06 14:32:03 +02:00
parent ef3946786a
commit c92576f65c

22
configure vendored
View File

@ -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 ;;