Zorba Configuration Parameters

This is a list of all published Zorba configuration parameters.You specify these parameters at CMake configuration time with the -D argument. See Configuration Parameters (the -D arguments) for more information.

Enabling/Disabling Zorba Features

Big Integer Support

The Zorba XQuery processor by default has arbitrary precision for the xs:integer type. Compared to a C++ int, however, arbitrary precision integers are orders of magnitude slower. If arbitrary precision integers are not needed, they can be disabled by configuring Zorba with the ZORBA_WITH_BIG_INTEGER option set to OFF, i.e. -D ZORBA_WITH_BIG_INTEGER=OFFWhen arbitrary precision integers are disabled, Zorba uses a C++ long long for xs:integer, the precision for which is dependent on your C++ implementation. Typically, however, the precision is at least 64 bits. However, in order to maintain the condition that the value space for xs:nonNegativeInteger is a subset of that of xs:integer, one less bit is allowed for xs:nonNegativeInteger.

XQuery Full-Text Support

Zorba by default supports the XQuery Full-Text specification (http://www.w3.org/TR/xpath-full-text-10/ ). If you wish to disable this support, configure with -D ZORBA_NO_FULL_TEXT=ON.

XQueryX Support

Zorba by default does not build with support for XQueryX (which is an alternate representation of XQuery using pure XML). To enable this support, configure with -DZORBA_XQUERYX=ON. Note that building with XQueryX support requires LibXslt to be available.

Enabling SSL Peer Verification

By default, Zorba's HTTP module does not validate the SSL certificate sent to it by HTTPS servers. This is because not all systems have a complete or valid set of root certificates against which to validate said server certificates. If you wish to enable SSL peer validation, configure with -D ZORBA_VERIFY_PEER_SSL_CERTIFICATE=ON.

Disabling Zorba Library Requirements

Disable ICU (Unicode) Support

The ICU library provides Unicode functionality, and is required by default when building Zorba. To disable this requirement, configure with -D ZORBA_NO_ICU=ON.

Disable Xerces (XML Schema) Support

The Xerces-C library provides XML Schema functionality, and is required by default when building Zorba. To disable this requirement, configure with -D ZORBA_NO_XMLSCHEMA=ON.

Disable Curl (HTTP) Support

The Curl library provides HTTP functionality. Zorba will automatically build with HTTP support (via the built-in http-client module) if it detects libcurl. To suppress this check (so you can build Zorba without HTTP support even if Curl is installed on your system), configure with -D ZORBA_SUPPRESS_CURL=ON.

Parameters for Compiling

Specifying the Directory for Non-Core Modules

By default, Zorba will automatically build any non-core module packages it finds in a directory named zorba_modules that is a sibling to the directory containing Zorba's own source (that is, "../zorba_modules" from the source directory). See Downloading source code for non-core modules for more information.If you wish to build non-core modules from a different location, configure with -D ZORBA_MODULES_DIR=/path/to/modules.

Specifying the Location of Third-Party Requirements on Windows

On Windows, you should configure with -D ZORBA_THIRD_PARTY_REQUIREMENTS=/path1;/path2 to indicate the path(s) to third-party libraries, instead of CMAKE_PREFIX_PATH. This is described in detail at Zorba's Automatic DLL Detection Mechanism.