Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 3.73 KB

File metadata and controls

28 lines (24 loc) · 3.73 KB

List of CMake options to configure libKriging build.

They should be used as -D<option>=<value> in cmake command line.

Standard CMake option Default value Allowed values Comment
CMAKE_BUILD_TYPE RelWithDebInfo Debug, Release, RelWithDebInfo, MinSizeRel
CMAKE_INSTALL_PREFIX ./installed path to install libs
CMAKE_GENERATOR_PLATFORM <empty> empty or x64 should be set to x64 on Windows to build 64bits target
CMAKE_CXX_COMPILER_LAUNCHER <empty> a compiler cache like ccache to optimize recompilation
libKriging CMake option Default value Allowed values Comment
EXTRA_SYSTEM_LIBRARY_PATH <empty> <path> add extra path for finding required libs
LIBKRIGING_BENCHMARK_TESTS OFF ON, OFF
ENABLE_COVERAGE OFF ON, OFF
ENABLE_MEMCHECK OFF ON, OFF
ENABLE_STATIC_ANALYSIS AUTO ON, OFF, AUTO (if available and Debug mode)
ENABLE_OCTAVE_BINDING AUTO ON, OFF, AUTO (if available) Exclusive with ENABLE_MATLAB_BINDING=on
ENABLE_MATLAB_BINDING AUTO ON, OFF, AUTO (if available) Exclusive with ENABLE_OCTAVE_BINDING=on
ENABLE_PYTHON_BINDING AUTO ON, OFF, AUTO (if available)
USE_COMPILER_CACHE <empty> <string> name of a compiler cache program
BUILD_SHARED_LIBS ON ON, OFF
PYTHON_PREFIX_PATH <empty> <string> overrides default python path detection
Matlab_ROOT_DIR <empty> <string> locate Matlab root directory to help CMake finder
SANITIZE OFF OFF, THREAD, ADDRESS, LEAK Enable sanitize feature (is available)
LBFGSB_SHOW_BUILD OFF ON, OFF Show details of lbfgsb_cpp sub-build