-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
39 lines (29 loc) · 920 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.0.0)
project(seq2vec VERSION 1.0.0)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fopenmp -O3 ")
set(CMAKE_CXX_FLAGS "-Wall -Wextra -Werror ${CMAKE_C_FLAGS}")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS}")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS}")
set(CMAKE_CXX_STANDARD 20)
set(Boost_NO_BOOST_CMAKE TRUE)
set(Boost_NO_SYSTEM_PATHS TRUE)
include(CTest)
enable_testing()
list(APPEND EXTRA_INCLUDE_DIRS "")
list(APPEND EXTRA_LINKS "")
find_package( Boost COMPONENTS program_options iostreams REQUIRED)
add_executable(${PROJECT_NAME} main.cpp)
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)
include_directories(${Boost_INCLUDE_DIRS} ./include)
target_include_directories(${PROJECT_NAME}
PUBLIC
${EXTRA_INCLUDE_DIRS}
)
target_link_libraries(${PROJECT_NAME}
${EXTRA_LINKS}
${Boost_LIBRARIES}
pthread
z
)