summaryrefslogtreecommitdiffstats
path: root/tests/CMakeLists.txt
blob: 934bccba793c6c222f8fadf7127873f221712799 (plain)
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
add_subdirectory(include)
add_subdirectory(storage)
add_subdirectory(lookup)

add_executable(
    test_pinyin
    test_pinyin.cpp
)

target_link_libraries(
    test_pinyin
    pinyin
)

add_test(NAME pinyin COMMAND test_pinyin)

add_executable(
    test_phrase
    test_phrase.cpp
)

target_link_libraries(
    test_phrase
    pinyin
)

add_test(NAME phrase COMMAND test_phrase)

add_executable(
    test_chewing
    test_chewing.cpp
)

target_link_libraries(
    test_chewing
    pinyin
)

add_test(NAME chewing COMMAND test_chewing)