summaryrefslogtreecommitdiff
path: root/demos/node-editor/meson.build
blob: 336301171baefff4bd160b91bb43981e88dfd843 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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,
  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