Source reconstructed at patch state 0 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 (../lib/seqan-library-2.2.0/include) |
| 5 |
include_directories (../lib/Complete-Striped-Smith-Waterman-Library/src) |
| 6 |
include_directories (../lib) |
| 7 |
include_directories( ${ZLIB_INCLUDE_DIRS} ) |
| 8 |
|
| 9 |
configure_file( Version.h.in ${CMAKE_SOURCE_DIR}/src/Version.h ) |
| 10 |
|
| 11 |
IF(STATIC) |
| 12 |
IF(APPLE) |
| 13 |
message(FATAL_ERROR "MacOSX does not support static linking. Please use -DSTATIC=OFF") |
| 14 |
ENDIF() |
| 15 |
SET(CMAKE_FIND_LIBRARY_SUFFIXES ".a") |
| 16 |
SET(BUILD_SHARED_LIBRARIES OFF) |
| 17 |
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static") |
| 18 |
ENDIF() |
| 19 |
|
| 20 |
add_executable(ngmlr |
| 21 |
AlignmentMatrix.cpp |
| 22 |
AlignmentMatrixFast.cpp |
| 23 |
ArgParser.cpp |
| 24 |
CS.cpp |
| 25 |
CSstatic.cpp |
| 26 |
ConvexAlign.cpp |
| 27 |
ConvexAlignFast.cpp |
| 28 |
LinearRegression.cpp |
| 29 |
Logging.cpp |
| 30 |
MappedRead.cpp |
| 31 |
main.cpp |
| 32 |
NGM.cpp |
| 33 |
NGMTask.cpp |
| 34 |
AlignmentBuffer.cpp |
| 35 |
PrefixTable.cpp |
| 36 |
ReadProvider.cpp |
| 37 |
SamParser.cpp |
| 38 |
SAMWriter.cpp |
| 39 |
SequenceProvider.cpp |
| 40 |
OutputReadBuffer.cpp |
| 41 |
ScoreBuffer.cpp |
| 42 |
StrippedSW.cpp |
| 43 |
../lib/Complete-Striped-Smith-Waterman-Library/src/ssw.c |
| 44 |
unix.cpp |
| 45 |
unix_threads.cpp) |
| 46 |
|
| 47 |
ADD_CUSTOM_TARGET(recompile_always ALL touch "${CMAKE_SOURCE_DIR}/src/main.cpp") |
| 48 |
|
| 49 |
#SET_TARGET_PROPERTIES(ngmlr PROPERTIES COMPILE_FLAGS " -g -O3 -DNDEBUG") |
| 50 |
|
| 51 |
TARGET_LINK_LIBRARIES(ngmlr ${ZLIB_LIBRARIES}) |
| 52 |
TARGET_LINK_LIBRARIES(ngmlr ${CMAKE_THREAD_LIBS_INIT}) |
| 53 |
|
| 54 |
install (TARGETS ngmlr DESTINATION bin) |