-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCMakeLists.txt
31 lines (20 loc) · 958 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
cmake_minimum_required(VERSION 3.5)
project(Weaver)
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
set(CMAKE_CXX_STANDARD 11)
set(SOURCE_FILES src/main.cpp)
add_executable(solo_ploidy src/solo_ploidy.cpp)
add_executable(newParse_memfix src/newParse_memfix.cpp)
add_executable(getGC src/getGC.cpp)
include_directories(${CMAKE_CURRENT_LIST_DIR}/inc)
find_package(Boost)
IF (Boost_FOUND)
include_directories(${Boost_INCLUDE_DIRS})
endif()
set (Boost_USE_STATIC_LIBS OFF) # enable dynamic linking
set (Boost_USE_MULTITHREAD ON) # enable multithreading
find_package (Boost COMPONENTS REQUIRED chrono filesystem system program_options)
#aux_source_directory(${CMAKE_CURRENT_LIST_DIR}/src SRC_LIST)
#add_executable(Weaver ${SRC_LIST})
add_executable(Weaver src/main.cpp src/class.cpp src/distt.cpp src/interval.cpp src/LBP.cpp src/new_ploidy.cpp src/partition.cpp src/ploidy.cpp src/read.cpp)
target_link_libraries (Weaver ${Boost_LIBRARIES})