-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
25 lines (19 loc) · 777 Bytes
/
Copy pathCMakeLists.txt
File metadata and controls
25 lines (19 loc) · 777 Bytes
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
cmake_minimum_required (VERSION 3.10)
project (aavcf)
set (CMAKE_CXX_STANDARD 11)
include_directories (lib)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/..)
# Use zlib for zstr
find_package (ZLIB REQUIRED )
if ( ZLIB_FOUND )
include_directories( ${ZLIB_INCLUDE_DIRS} )
link_libraries( ${ZLIB_LIBRARIES} )
endif( ZLIB_FOUND )
FIND_PACKAGE (Boost)
IF (Boost_FOUND)
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIR})
ADD_DEFINITIONS( "-DHAS_BOOST" )
ENDIF()
add_test(NAME example_call
COMMAND aavcf -f ../test/human_ancestor_22.fa.gz -v ../test/S_Yoruba-2_22.vcf.gz)
add_executable (aavcf src/main.cpp src/fasta.cpp src/fasta.h lib/string_split.cpp)