1 set(CMAKE_BUILD_TYPE Release
2 CACHE STRING "build type (Release, Debug, ...)")
3 set(CMAKE_INSTALL_PREFIX /usr/local
4 CACHE PATH "install prefix")
6 option(BUILD_TESTING "whether to enable build of the test suite"
8 option(BUILD_DOCSONLY "build *only* documentation"
10 option(BUILD_DOCS "build documentation"
12 option(BUILD_DOCS_HTML "build HTML docs"
14 option(BUILD_DOCS_MAN "build manpages"
16 option(BUILD_DOCS_MANGZ "gzip manpages"
19 option(ENABLE_DTRACE "enable dtrace support"
21 option(ENABLE_HASH_FNV64 "enable fnv64 hash support"
23 option(ENABLE_HASH_MURMUR "enable murmur hash support"
25 option(ENABLE_HASH_HSIEH "enable hsieh hash support"
27 option(ENABLE_MEMASLAP "enable memaslap client"
29 option(ENABLE_SASL "enable SASL support"
32 set(ENABLE_SANITIZERS ""
33 CACHE STRING "sanitizers to enable (e.g. address undefined ...)")
36 set(MEMCACHED_BINARY "/usr/bin/memcached"
37 CACHE FILEPATH "memcached binary")
42 CACHE STRING "additional sphinx-build command line options")
43 set(SPHINX_THEME "sphinx_rtd_theme"
44 CACHE STRING "sphinx HTML theme")
45 set(SPHINX_THEME_OPTIONS ""
46 CACHE STRING "sphinx HTML theme options")
47 set(SPHINX_EXTENSIONS ""
48 CACHE STRING "comma separated list of quoted sphinx extensions")
49 set(SPHINX_CONF_APPEND ""
50 CACHE STRING "append verbatim code to sphinx' conf.py")
55 set(HAVE_VISIBILITY 1)
56 set(HAVE_SHARED_ENABLED 1)
57 set(HAVE_GCC_BUILTIN_ATOMIC 1)
61 set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/CMake)
63 if(NOT BUILD_DOCSONLY)
64 include(CMake/_Include.cmake)