-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakeLists.txt
43 lines (32 loc) · 1010 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
cmake_minimum_required (VERSION 3.0.0)
project (token_index VERSION 0.1.0)
set(CMAKE_CXX_STANDARD 20)
include_directories(include)
aux_source_directory(src/token_index TOKEN_INDEX)
aux_source_directory(src/bm BM)
aux_source_directory(src/levenshtein_automaton LEVENSHTEIN_AUTOMATON)
# add_subdirectory(ext/LA_CPlusPlus)
# include_directories(ext/LA_CPlusPlus/include)
add_executable (test_field_manager tests/test_field_manager.cpp
${TOKEN_INDEX}
${BM}
${LEVENSHTEIN_AUTOMATON}
)
# target_link_libraries(test_field_manager levenshtein_automaton)
add_executable (filter tests/filter.cpp)
add_executable (test_bm tests/test_bm.cpp ${BM})
add_executable (test_la tests/test_la.cpp
${LEVENSHTEIN_AUTOMATON}
${TOKEN_INDEX}
${BM}
)
add_executable (test_la_index_manager tests/test_la_index_manager.cpp
${TOKEN_INDEX}
${BM}
${LEVENSHTEIN_AUTOMATON}
)
add_executable (test_field_regex tests/test_field_regex.cpp
${TOKEN_INDEX}
${BM}
${LEVENSHTEIN_AUTOMATON}
)