cmake.options 859 字节
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_DEPENDENCY_TESTS 
    "If build dependency tests" 
H
Hongze Cheng 已提交
50
    ON
H
more  
Hongze Cheng 已提交
51 52 53 54 55
)

option(
    BUILD_DOCS
    "If use doxygen build documents" 
H
Hongze Cheng 已提交
56
    OFF
dengyihao's avatar
dengyihao 已提交
57
)
dengyihao's avatar
dengyihao 已提交
58 59

option(
dengyihao's avatar
dengyihao 已提交
60
   BUILD_WITH_INVERTEDINDEX
dengyihao's avatar
dengyihao 已提交
61 62 63
   "If use invertedIndex" 
   ON 
)