mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-19 06:18:07 +02:00
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
21 lines
375 B
Meson
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)
|