CMake variables#
The table below shows the most common variables for building DLite (see CMake variables for a complete list):
CMake variable |
Default |
Comment |
---|---|---|
|
~/.local |
Install path prefix, prepended onto install directories |
|
Debug |
Build type: Debug, Release, MinSizeRel or RelWithDebInfo |
|
ON |
Whether to build Python 3 bindings |
|
Python version to compile against. Example: |
|
|
OFF |
Whether to build Fortran bindings |
|
ON |
Whether to build with support for HDF5 v1.10+ |
|
ON |
Whether to build with RDF support (using librdf) |
|
OFF |
Whether to build documentation |
|
ON |
Whether to build/run examples during testing |
|
OFF |
Whether to force building/running examples |
|
ON |
Whether to not fail on compilation warnings |
|
OFF |
Whether to build with threading support |
|
OFF |
Whether to compile with static python libraries |
|
ON |
Whether to build with test support |