mutter/cogl/tests/micro-perf/meson.build
Georges Basile Stavracas Neto d1c4c46281
build: Prefer dependencies instead of link_with
Meson uses the 'dependencies' field to determine and
parallelize build steps, but that isn't entirely true
with 'link_with'; this might cause a race condition
when generating header files while trying to build
them.

Fix that by only using 'dependencies' instead of 'link_with'.
2018-11-06 17:50:24 -02:00

18 lines
406 B
Meson

cogl_test_journal_sources = [
'test-journal.c',
]
cogl_test_journal = executable('test-journal',
sources: cogl_test_journal_sources,
c_args: cogl_debug_c_args + [
'-DCOGL_DISABLE_DEPRECATED',
'-DTESTS_DATADIR="@0@"'.format(join_paths(cogl_srcdir, 'tests/data')),
],
include_directories: cogl_includepath,
dependencies: [
cogl_deps,
libmutter_cogl_dep,
],
install: false,
)