gitg/tests/meson.build
Iñigo Martínez 8b09eb1892 meson: Fix dependencies
Libraries build by gitg expose a number of includes in their public
headers belonging to different libraries. Therefore, these libraries
are indirect dependencies of the library to be built.

With this in mind, these indirect dependencies are also included
when a direct dependency is included, so there is no need to include
them again.

Dependency hierarchy has been fixed and duplicated dependencies
removed.

Created `pkg-config` files requirements have also been fixed.
2018-10-10 23:29:26 +02:00

20 lines
336 B
Meson

subdir('support')
subdir('libgitg')
subdir('gitg')
test_names = [
'diff-view',
'repository-list-box',
'progress-bin',
]
foreach test_name: test_names
executable(
'tests-' + test_name,
sources: test_name + '.vala',
include_directories: top_inc,
dependencies: libgitg_dep,
c_args: warn_flags,
)
endforeach