Debian Codegraph @

src/CMakeLists.txt

raw ◀ ▶
Source reconstructed at patch state 1 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
1 cmake_minimum_required(VERSION 2.8)
2 project(ngmlr)
3
4 include_directories (/usr/include/htslib)
5 include_directories (../lib)
6 include_directories( ${ZLIB_INCLUDE_DIRS} )
7
8 configure_file( Version.h.in ${CMAKE_SOURCE_DIR}/src/Version.h )
9
10 IF(STATIC)
11 IF(APPLE)
12 message(FATAL_ERROR "MacOSX does not support static linking. Please use -DSTATIC=OFF")
13 ENDIF()
14 SET(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
15 SET(BUILD_SHARED_LIBRARIES OFF)
16 SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static")
17 ENDIF()
18
19 add_executable(ngmlr
20 AlignmentMatrix.cpp
21 AlignmentMatrixFast.cpp
22 ArgParser.cpp
23 CS.cpp
24 CSstatic.cpp
25 ConvexAlign.cpp
26 ConvexAlignFast.cpp
27 LinearRegression.cpp
28 Logging.cpp
29 MappedRead.cpp
30 main.cpp
31 NGM.cpp
32 NGMTask.cpp
33 AlignmentBuffer.cpp
34 PrefixTable.cpp
35 ReadProvider.cpp
36 SamParser.cpp
37 SAMWriter.cpp
38 SequenceProvider.cpp
39 OutputReadBuffer.cpp
40 ScoreBuffer.cpp
41 StrippedSW.cpp
42 /usr/include/ssw.h
43 unix.cpp
44 unix_threads.cpp)
45
46 ADD_CUSTOM_TARGET(recompile_always ALL touch "${CMAKE_SOURCE_DIR}/src/main.cpp")
47
48 #SET_TARGET_PROPERTIES(ngmlr PROPERTIES COMPILE_FLAGS " -g -O3 -DNDEBUG")
49
50 TARGET_LINK_LIBRARIES(ngmlr ${ZLIB_LIBRARIES})
51 TARGET_LINK_LIBRARIES(ngmlr ${CMAKE_THREAD_LIBS_INIT})
52 TARGET_LINK_LIBRARIES(ngmlr ssw)
53
54 install (TARGETS ngmlr DESTINATION bin)