NetworkManager/dispatcher/tests/meson.build
Iñigo Martínez 0735b35dd0 build: use template files for enum types' sources generation
Source files for enum types are generated by passing segments of the
source code of the files to the `glib-mkenums` command.

This patch removes those parameters where source code is used from
meson build files by moving those segmeents to template files.

https://mail.gnome.org/archives/networkmanager-list/2017-December/msg00057.html
2017-12-18 11:25:06 +01:00

21 lines
375 B
Meson

test_unit = 'test-dispatcher-envp'
incs = [
top_inc,
shared_inc,
libnm_core_inc,
dispatcher_inc
]
cflags = '-DSRCDIR="@0@"'.format(meson.current_source_dir())
exe = executable(
test_unit,
[test_unit + '.c', libnm_core_enum[1]],
include_directories: incs,
dependencies: glib_dep,
c_args: cflags,
link_with: libnm_dispatcher_core
)
test(test_unit, exe)