2019-03-12 14:05:25 +00:00
|
|
|
node_editor_sources = [
|
2019-03-09 13:55:17 +00:00
|
|
|
'gtkrendererpaintable.c',
|
2019-03-12 14:05:25 +00:00
|
|
|
'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',
|
|
|
|
node_editor_sources, node_editor_resources,
|
|
|
|
dependencies: libgtk_dep,
|
|
|
|
include_directories: confinc,
|
2020-03-06 17:54:37 +00:00
|
|
|
c_args: [
|
|
|
|
'-DNODE_EDITOR_SOURCE_DIR="@0@/../../testsuite/gsk/compare/"'.format(meson.current_source_dir())
|
|
|
|
] + common_cflags,
|
2019-03-12 14:05:25 +00:00
|
|
|
gui_app: true,
|
|
|
|
link_args: extra_demo_ldflags,
|
|
|
|
install: false)
|
2020-07-13 11:29:03 +00:00
|
|
|
|
2020-08-10 00:28:56 +00:00
|
|
|
# icons, don't install them until we decide to install gtk4-node-editor
|
|
|
|
#icontheme_dir = join_paths(gtk_datadir, 'icons/hicolor')
|
2020-07-13 11:29:03 +00:00
|
|
|
|
2020-08-10 00:28:56 +00:00
|
|
|
#foreach size: ['scalable', 'symbolic']
|
|
|
|
# install_subdir('data/' + size,
|
|
|
|
# install_dir: icontheme_dir
|
|
|
|
# )
|
|
|
|
#endforeach
|