CMake options
Features
-DWITH_HTTP=OFF disable built in HTTP support, this feature used for HTTP API and daemon (solo mining) support.-DWITH_TLS=OFF disable SSL/TLS support (secure connections to pool). This feature add external dependency to OpenSSL.
Debug options
-DWITH_DEBUG_LOG=ON enable debug log (mostly network requests).-DHWLOC_DEBUG=ON enable some debug log for hwloc.-DCMAKE_BUILD_TYPE=Debug enable debug build, only useful for investigate crashes, this option slow down miner.
Special build options
-DXMRIG_DEPS=<path> path to precompiled dependencies .-DUV_INCLUDE_DIR=<path> custom path to libuv headers.-DUV_LIBRARY=<path> custom path to libuv library.-DOPENSSL_ROOT_DIR=<path> custom path to OpenSSL.-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ custom C and C++ compiler.