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.
24 lines
624 B
Meson
24 lines
624 B
Meson
constraint_editor_sources = [
|
|
'main.c',
|
|
'constraint-editor-application.c',
|
|
'constraint-editor-window.c',
|
|
'constraint-view.c',
|
|
'constraint-editor.c',
|
|
'guide-editor.c',
|
|
]
|
|
|
|
constraint_editor_resources = gnome.compile_resources('constraint_editor_resources',
|
|
'constraint-editor.gresource.xml',
|
|
source_dir: meson.current_source_dir(),
|
|
)
|
|
|
|
executable('gtk4-constraint-editor',
|
|
sources: [ constraint_editor_sources, constraint_editor_resources, ],
|
|
c_args: common_cflags,
|
|
dependencies: libgtk_dep,
|
|
include_directories: confinc,
|
|
win_subsystem: 'windows',
|
|
link_args: extra_demo_ldflags,
|
|
install: false,
|
|
)
|