mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-30 07:26:33 +02: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
|
--no-samples
|
||||||
Do not build 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
|
--no-wstring
|
||||||
Compile with -DPOCO_NO_WSTRING.
|
Compile with -DPOCO_NO_WSTRING.
|
||||||
@ -126,7 +135,6 @@ cd $build
|
|||||||
tests=1
|
tests=1
|
||||||
samples=1
|
samples=1
|
||||||
flags=""
|
flags=""
|
||||||
omit=""
|
|
||||||
includepath=""
|
includepath=""
|
||||||
librarypath=""
|
librarypath=""
|
||||||
odbclib=""
|
odbclib=""
|
||||||
@ -134,6 +142,9 @@ odbcinclude=""
|
|||||||
unbundled=""
|
unbundled=""
|
||||||
static=""
|
static=""
|
||||||
shared=""
|
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
|
# parse arguments
|
||||||
while [ $# -ge 1 ]; do
|
while [ $# -ge 1 ]; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
@ -198,6 +209,15 @@ while [ $# -ge 1 ]; do
|
|||||||
flags="$flags -DPOCO_UNBUNDLED"
|
flags="$flags -DPOCO_UNBUNDLED"
|
||||||
unbundled=1
|
unbundled=1
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
--minimal)
|
||||||
|
omit=$omitMinimal ;;
|
||||||
|
|
||||||
|
--typical)
|
||||||
|
omit=$omitTypical ;;
|
||||||
|
|
||||||
|
--everything)
|
||||||
|
omit="" ;;
|
||||||
|
|
||||||
--static)
|
--static)
|
||||||
static=1 ;;
|
static=1 ;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user