mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
a20fd5e14e
We must apply the /entry:mainCRTStartup linker flag in order to link GTK apps in pure GUI form. This follows what is done in demos/gtk-demo, etc.
21 lines
705 B
Meson
21 lines
705 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: '.')
|
|
|
|
executable('gtk4-constraint-editor',
|
|
constraint_editor_sources, constraint_editor_resources,
|
|
dependencies: libgtk_dep,
|
|
include_directories: confinc,
|
|
gui_app: true,
|
|
link_args: extra_demo_ldflags,
|
|
install: false)
|