-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
34 lines (29 loc) · 1.09 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
cmake_minimum_required(VERSION 3.5)
project(geep)
set( EXECUTABLE_OUTPUT_PATH "${CMAKE_SOURCE_DIR}/bin" )
find_package(Boost COMPONENTS system filesystem thread REQUIRED)
add_subdirectory(./3rd_party/bamtools)
include_directories(${Boost_INCLUDE_DIRS})
include_directories (include)
link_directories (lib)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
set(SOURCE_FILES src/main.cpp
src/bam_reader.cpp
include/bam_reader.h
src/annotation_reader.cpp
include/annotation_reader.h
src/interval_map.cpp
include/interval_map.h
include/string_tools.h
include/rpkm_calculation.h
src/rpkm_calculation.cpp
src/test.cpp
include/test.h
src/thread.cpp
include/thread.h
include/cxxopts/cxxopts.hpp)
add_executable(geep ${SOURCE_FILES})
add_dependencies (geep BamTools)
target_link_libraries(geep ${Boost_LIBRARIES} bamtools)
install(TARGETS geep
RUNTIME DESTINATION bin)