-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
39 lines (31 loc) · 980 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
cmake_minimum_required(VERSION 3.16)
project(pla-index VERSION 1.1)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_CXX_FLAGS "-O3 -mbmi2 -msse4.2 -DNDEBUG -march=native")
add_library(pla STATIC
src/pla_index.cpp
src/cmdline.cpp
)
target_include_directories(pla PUBLIC /research/mqa6002/Softwares/Installed/include/ )
target_link_directories(pla PUBLIC /research/mqa6002/Softwares/Installed/lib/)
target_link_libraries(pla PUBLIC sdsl divsufsort divsufsort64)
add_executable(build_pla_index
src/build_pla_index.cpp
)
target_link_libraries(build_pla_index PUBLIC pla)
add_executable(query_pla_index
src/query_pla_index.cpp
)
target_link_libraries(query_pla_index PUBLIC pla)
add_executable(process_fasta
src/process_fasta.cpp
)
add_executable(create_queries
src/CreateQueries.cpp
)
# add_executable(unit_test
# interim/unit_test.cpp
# )
# target_link_libraries(unit_test PUBLIC pla)