mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
aaeec84d75
In certain scenarios, address the issue where gnome.compile_resources fails to transmit the present source directory. This is most notably visible with MSBuild.
16 lines
366 B
Meson
16 lines
366 B
Meson
app8_resources = gnome.compile_resources('exampleapp8 resources',
|
|
'exampleapp.gresource.xml',
|
|
source_dir: meson.current_source_dir())
|
|
|
|
app8_schemas = gnome.compile_schemas()
|
|
|
|
executable('exampleapp8',
|
|
'main.c',
|
|
'exampleapp.c',
|
|
'exampleappwin.c',
|
|
'exampleappprefs.c',
|
|
app8_resources,
|
|
app8_schemas,
|
|
dependencies: libgtk_dep,
|
|
c_args: common_cflags)
|