cmake
[awesomized/libmemcached] / CMakeConfig.txt
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")
5
6 # make test
7
8 set(BUILD_TESTING ON
9 CACHE STRING "whether to enable build of the test suite")
10
11 set(ENABLE_SANITIZERS ""
12 CACHE STRING "sanitizers to enable (e.g. address undefined ...)")
13
14 # sasl
15
16 set(ENABLE_SASL OFF
17 CACHE BOOL "enable SASL support")
18
19 # hashes
20
21 set(ENABLE_FNV64_HASH ON
22 CACHE BOOL "enable fnv64 hash support")
23 set(ENABLE_MURMUR_HASH ON
24 CACHE BOOL "enable murmur hash support")
25 set(ENABLE_HSIEH_HASH OFF
26 CACHE BOOL "enable hsieh hash support")
27
28 # memaslap, needs libevent and stdatomic
29 set(ENABLE_MEMASLAP ON
30 CACHE BOOL "enable memaslap client")
31
32 # dtrace
33
34 set(ENABLE_DTRACE OFF
35 CACHE BOOL "enable dtrace support")
36
37 # sphinx
38
39 set(SPHINX_OPTIONS ""
40 CACHE STRING "additional sphinx-build command line options")
41 set(SPHINX_THEME "sphinx_rtd_theme"
42 CACHE STRING "sphinx HTML theme")
43 set(SPHINX_THEME_OPTIONS "'collapse_navigation':False, 'navigation_depth':2, 'titles_only':False, 'includehidden':False"
44 CACHE STRING "sphinx HTML theme options")
45 set(SPHINX_EXTENSIONS ""
46 CACHE STRING "comma separated list of quoted sphinx extensions")
47 set(SPHINX_CONF_APPEND ""
48 CACHE STRING "append verbatim code to sphinx' conf.py")
49
50 # legacy
51
52 set(HAVE_VISIBILITY 1)
53 set(HAVE_SHARED_ENABLED 1)
54 set(HAVE_GCC_BUILTIN_ATOMIC 1)
55
56 # modules
57
58
59 include(CMake/_Include.cmake)