aboutsummaryrefslogtreecommitdiff
path: root/lib/configuration/meson.build
blob: a0d915c32f92449d0f726ac21aa63bba9f5f6bb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
dep_configuration = declare_dependency(
  include_directories: include_directories('.'),
  link_with: static_library('configuration', ['configuration.cpp', 'qt_specialization.cpp'], dependencies: dep_qt5)
)

test('configuration: parser',
  executable('configuration-parser',
    sources: [ 'test/parser.cpp' ],
    dependencies: [ dep_qt5, dep_gtest, dep_configuration ]
  ),
  env: environment({ 'CONFIGFILE' : meson.current_source_dir()/'test/defaultrc.ini' }),
  workdir: meson.current_source_dir()/'test'
)