File: CMakeLists.txt

package info (click to toggle)
discosnp 4.4.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,264 kB
  • sloc: python: 4,986; cpp: 3,717; sh: 3,205; makefile: 12
file content (31 lines) | stat: -rw-r--r-- 995 bytes parent folder | download | duplicates (4)
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
project(kissreads2)

################################################################################
# TOOL
################################################################################

# we get compilation definitions from the gatb-core part
add_definitions (${gatb-core-flags})

# we give the headers directories from : 
#       - from project source 
#       - from GATB-CORE source
include_directories (src  ${gatb-core-includes})

# we define the files to be compiled
file (GLOB_RECURSE  ProjectFiles  src/*)

# we define the artifact to be built: the project binary
include(GNUInstallDirs)
LINK_DIRECTORIES( /usr/${CMAKE_INSTALL_LIBDIR}/hdf5/serial )
add_executable        (${PROJECT_NAME}  ${ProjectFiles})

set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIRZ})


# we define which libraries to be linked with project binary
target_link_libraries (${PROJECT_NAME} gatbcore hdf5 z )


# We copy the project binary to the 'bin' directory
INSTALL (TARGETS ${PROJECT_NAME} DESTINATION bin)