mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
add --typical, --minimal and --everything options
This commit is contained in:
parent
ef3946786a
commit
c92576f65c
22
configure
vendored
22
configure
vendored
@ -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 ;;
|
||||
|
Loading…
Reference in New Issue
Block a user