-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCMakeLists.txt
50 lines (37 loc) · 1.6 KB
/
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
44
45
46
47
48
49
50
cmake_minimum_required(VERSION 3.6.0)
project(clickstream-hmm)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
find_package(MeTA REQUIRED)
file(DOWNLOAD
https://github.com/nlohmann/json/releases/download/v3.1.2/json.hpp
${PROJECT_SOURCE_DIR}/deps/json/json.hpp
SHOW_PROGRESS
EXPECTED_HASH
SHA256=fbdfec4b4cf63b3b565d09f87e6c3c183bdd45c5be1864d3fcb338f6f02c1733
)
include_directories(include ${PROJECT_SOURCE_DIR}/deps/json)
add_executable(check-sorted src/check_sorted.cpp)
target_link_libraries(check-sorted meta-util)
add_executable(sort src/sort.cpp)
target_link_libraries(sort meta-util meta-io)
add_executable(extract-sequences src/extract_sequences.cpp)
target_link_libraries(extract-sequences meta-util meta-io)
add_executable(clickstream-hmm src/clickstream_hmm.cpp)
target_link_libraries(clickstream-hmm meta-sequence meta-hmm
meta-stats)
add_executable(retrofit-hmm src/retrofit_hmm.cpp)
target_link_libraries(retrofit-hmm meta-sequence meta-hmm meta-stats
meta-io)
add_executable(print-hmm src/print_hmm.cpp)
target_link_libraries(print-hmm meta-sequence meta-hmm)
add_executable(decode src/decode.cpp)
target_link_libraries(decode meta-sequence meta-hmm)
add_executable(classify-students src/classify_students.cpp)
target_link_libraries(classify-students meta-classify)
add_executable(rank-students src/rank_students.cpp)
target_link_libraries(rank-students meta-eval meta-stats)
add_executable(plain-mm src/plain_mm.cpp)
target_link_libraries(plain-mm meta-sequence meta-stats meta-io)