cmake.options 1.1 KB
Newer Older
H
refact  
Hongze Cheng 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# =========================================================
# Deps options
# =========================================================
option(
    BUILD_TEST 
    "If build unit tests using googletest" 
    ON
)

option(
    BUILD_WITH_LEVELDB 
    "If build with leveldb" 
    OFF
)

option(
    BUILD_WITH_ROCKSDB 
    "If build with rocksdb" 
H
more  
Hongze Cheng 已提交
19
    OFF
H
refact  
Hongze Cheng 已提交
20 21
)

H
Hongze Cheng 已提交
22 23 24
option(
    BUILD_WITH_SQLITE
    "If build with sqlite" 
H
more  
Hongze Cheng 已提交
25
    OFF
H
Hongze Cheng 已提交
26 27
)

H
Hongze Cheng 已提交
28 29 30 31 32 33
option(
    BUILD_WITH_BDB 
    "If build with BerkleyDB" 
    ON
)

H
refact  
Hongze Cheng 已提交
34 35 36
option(
    BUILD_WITH_LUCENE 
    "If build with lucene" 
dengyihao's avatar
dengyihao 已提交
37
    off 
H
Hongze Cheng 已提交
38 39
)

dengyihao's avatar
dengyihao 已提交
40

H
Hongze Cheng 已提交
41 42 43 44 45 46
option(
    BUILD_WITH_NURAFT
    "If build with NuRaft" 
    OFF
)

H
Hongze Cheng 已提交
47 48 49
option(
    BUILD_WITH_UV
    "If build with libuv" 
dengyihao's avatar
fix bug  
dengyihao 已提交
50
    ON  
H
Hongze Cheng 已提交
51 52
)

dengyihao's avatar
dengyihao 已提交
53 54 55
option(
    BUILD_WITH_UV_TRANS
    "If build with libuv_trans " 
dengyihao's avatar
fix bug  
dengyihao 已提交
56
    ON 
dengyihao's avatar
dengyihao 已提交
57 58
)

M
Minghao Li 已提交
59 60 61 62 63 64
option(
    BUILD_WITH_CRAFT
    "If build with canonical-raft"
    OFF
)

M
Minghao Li 已提交
65 66 67 68 69 70
option(
    BUILD_WITH_TRAFT
    "If build with traft"
    OFF
)

H
Hongze Cheng 已提交
71 72 73
option(
    BUILD_DEPENDENCY_TESTS 
    "If build dependency tests" 
H
Hongze Cheng 已提交
74
    ON
H
more  
Hongze Cheng 已提交
75 76 77 78 79
)

option(
    BUILD_DOCS
    "If use doxygen build documents" 
H
Hongze Cheng 已提交
80
    OFF
dengyihao's avatar
dengyihao 已提交
81
)
dengyihao's avatar
dengyihao 已提交
82 83

option(
dengyihao's avatar
dengyihao 已提交
84
   BUILD_WITH_INVERTEDINDEX
dengyihao's avatar
dengyihao 已提交
85 86 87
   "If use invertedIndex" 
   ON 
)