★ wanayoo — archive 1999 https://github.com/actor-framework/actor-framework/wiki/CMake-OptionsNouvelle recherche | Portail wanayoo
Skip to content

CMake Options

Dominik Charousset edited this page May 18, 2015 · 1 revision

CMake Options

The following variables influence the CMake build of CAF (notation is <variable name>:<type>[=<default>])

General Options

  • CAF_BUILD_STATIC:BOOL=no build static libraries in addition to shared libraries
  • CAF_BUILD_STATIC_ONLY:BOOL=no build static libraries only
  • CAF_CXX_WARNINGS_AS_ERRORS:BOOL=no treat warnings as erros
  • CAF_ENABLE_ADDRESS_SANITIZER:BOOL=no build with ASAN
  • CAF_ENABLE_RUNTIME_CHECKS:BOOL=no compile CAF with runtime requirement checks
  • CAF_LOG_LEVEL:STRING produce logfiles while running, from "0" for errors only to "4" for traces
  • CAF_MORE_WARNINGS:BOOL=no build with most compiler warning enabled
  • CAF_NO_AUTO_LIBCPP:BOOL=no do not automatically add -stdlib=libc++ when using Clang
  • CAF_NO_COMPILER_CHECK:BOOL=no suppress compatibility check for compiler
  • CAF_NO_CURL_EXAMPLES:BOOL=no always exclude Curl examples
  • CAF_NO_EXAMPLES:BOOL=no exclude examples from build
  • CAF_NO_MEM_MANAGEMENT:BOOL=no disable CAF's default memory management
  • CAF_NO_PROTOBUF_EXAMPLES:BOOL=no always exclude Protobuf examples
  • CAF_NO_QT_EXAMPLES:BOOL=no always exclude Qt examples
  • CAF_NO_SUMMARY:BOOL=no suppress printing a summary at the end
  • CAF_NO_UNIT_TESTS:BOOL=no do not build unit tests
  • CAF_USE_ASIO:BOOL=no use Boost.ASIO instead of the native IO backend

Submodule Options

  • CAF_NO_CASH:BOOL=no disable the "C++ Actor SHell" even if submodule is loaded
  • CAF_NO_NEXUS:BOOL=no disable Nexus even if submodule is loaded
  • CAF_NO_OPENCL:BOOL=no disable OpenCL component even if submodule is loaded
  • CAF_NO_RIAC:BOOL=no disable the RIAC library even if submodule is loaded

Platform-specific Options

  • CAF_OSX_SYSROOT:PATH can be set to iphonesimulator for iOS development
  • CAF_IOS_DEPLOYMENT_TARGET:STRING can be set along with CMAKE_OSX_ARCHITECTURES for a minimum iOS version
You can’t perform that action at this time.