mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
3aa3c21d69
Add a -Dprofile=devel meson option, and add some visual hints to the demos that you are running a nightly build.
31 lines
865 B
Meson
31 lines
865 B
Meson
node_editor_sources = [
|
|
'gtkrendererpaintable.c',
|
|
'main.c',
|
|
'node-editor-application.c',
|
|
'node-editor-window.c',
|
|
]
|
|
|
|
node_editor_resources = gnome.compile_resources('node_editor_resources',
|
|
'node-editor.gresource.xml',
|
|
source_dir: '.',
|
|
)
|
|
|
|
executable('gtk4-node-editor',
|
|
sources: [node_editor_sources, node_editor_resources],
|
|
dependencies: [ libgtk_dep, demo_conf_h ],
|
|
include_directories: confinc,
|
|
c_args: [
|
|
'-DNODE_EDITOR_SOURCE_DIR="@0@/../../testsuite/gsk/compare/"'.format(meson.current_source_dir())
|
|
] + common_cflags,
|
|
gui_app: true,
|
|
link_args: extra_demo_ldflags,
|
|
install: false,
|
|
)
|
|
|
|
# icons, don't install them until we decide to install gtk4-node-editor
|
|
#icontheme_dir = join_paths(gtk_datadir, 'icons/hicolor')
|
|
|
|
#foreach size: ['scalable', 'symbolic']
|
|
# install_subdir('data/' + size, install_dir: icontheme_dir)
|
|
#endforeach
|