-
Notifications
You must be signed in to change notification settings - Fork 13
/
CMakeLists.txt
37 lines (24 loc) · 1012 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
cmake_minimum_required (VERSION 2.6)
project(TIDDIT)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
add_definitions( -Wno-deprecated )
# set our library and executable destination dirs
set( EXECUTABLE_OUTPUT_PATH "${CMAKE_SOURCE_DIR}/bin" )
# define compiler flags for all code
set( CMAKE_BUILD_TYPE Release )
include_directories("${PROJECT_SOURCE_DIR}/src")
include_directories("${PROJECT_SOURCE_DIR}/lib/")
include_directories("${PROJECT_SOURCE_DIR}/lib/bamtools/src")
# source code
file(GLOB TIDDIT_FILES
${PROJECT_SOURCE_DIR}/src/TIDDIT.cpp
${PROJECT_SOURCE_DIR}/src/data_structures/Translocation.cpp
${PROJECT_SOURCE_DIR}/src/data_structures/findTranslocationsOnTheFly.cpp
${PROJECT_SOURCE_DIR}/src/common.h
${PROJECT_SOURCE_DIR}/src/data_structures/CoverageModule.cpp
)
add_subdirectory(lib)
# TIDDIT executable
add_executable(TIDDIT ${TIDDIT_FILES})
target_link_libraries(TIDDIT ${ZLIB_LIBRARIES})
target_link_libraries(TIDDIT BamTools)