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',
|
2020-12-15 12:31:38 +00:00
|
|
|
'node-editor.gresource.xml',
|
|
|
|
source_dir: '.',
|
|
|
|
)
|
2019-03-12 14:05:25 +00:00
|
|
|
|
|
|
|
executable('gtk4-node-editor',
|
2020-12-15 12:31:38 +00:00
|
|
|
sources: [node_editor_sources, node_editor_resources],
|
2021-02-12 04:35:26 +00:00
|
|
|
dependencies: [ libgtk_dep, demo_conf_h ],
|
2020-12-15 12:31:38 +00:00
|
|
|
include_directories: confinc,
|
|
|
|
c_args: [
|
|
|
|
'-DNODE_EDITOR_SOURCE_DIR="@0@/../../testsuite/gsk/compare/"'.format(meson.current_source_dir())
|
|
|
|
] + common_cflags,
|
2021-12-24 15:51:11 +00:00
|
|
|
win_subsystem: 'windows',
|
2020-12-15 12:31:38 +00:00
|
|
|
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']
|
2020-12-15 12:31:38 +00:00
|
|
|
# install_subdir('data/' + size, install_dir: icontheme_dir)
|
2020-08-10 00:28:56 +00:00
|
|
|
#endforeach
|