File: CMakeLists.txt

package info (click to toggle)
discosnp 1%3A2.6.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,520 kB
  • sloc: python: 5,893; sh: 2,966; cpp: 2,692; makefile: 12
file content (31 lines) | stat: -rw-r--r-- 1,008 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(create_coverage_h5_file)

################################################################################
# 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)