File: meson.build

package info (click to toggle)
spoa 4.1.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 464 kB
  • sloc: cpp: 4,552; makefile: 32; sh: 10
file content (31 lines) | stat: -rw-r--r-- 730 bytes parent folder | download | duplicates (2)
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
spoa_test_config = configuration_data()
spoa_test_config.set('SPOA_TEST_DATA',  meson.project_source_root() + '/test/data/sample.fastq.gz')

###########
# Sources #
###########

spoa_test_config_headers = [
  configure_file(
    input : 'spoa_test_config.h.in',
    output : 'spoa_test_config.h',
    configuration : spoa_test_config)
]

spoa_test_sources = files([
  'spoa_test.cpp',
]) + spoa_test_config_headers

spoa_test = executable(
  'spoa_test',
  spoa_test_sources,
  dependencies : [spoa_lib_deps, spoa_biosoup_dep, spoa_bioparser_dep, spoa_gtest_dep],
  include_directories : spoa_include_directories,
  link_with : spoa_lib,
  install : false)

#########
# Tests #
#########

test('spoa gtest unit tests', spoa_test)