summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2016-09-20 12:13:28 +0200
committerEmmanuele Bassi <ebassi@gnome.org>2017-05-03 15:10:51 +0100
commitfe42d645ad04a730d735e8ff94d8a4aadd347de1 (patch)
treefce5925deafd39e684ad54d28494f9efebd70224 /demos
parent81ffccf79f670e4f359cf16e13353b14f966d40e (diff)
downloadgtk+-fe42d645ad04a730d735e8ff94d8a4aadd347de1.tar.gz
meson: Build gtk3-demo
Diffstat (limited to 'demos')
-rw-r--r--demos/gtk-demo/meson.build91
-rw-r--r--demos/meson.build1
2 files changed, 92 insertions, 0 deletions
diff --git a/demos/gtk-demo/meson.build b/demos/gtk-demo/meson.build
new file mode 100644
index 0000000000..2edfdc025a
--- /dev/null
+++ b/demos/gtk-demo/meson.build
@@ -0,0 +1,91 @@
+demos_base = files([
+ 'application_demo.c',
+ 'assistant.c',
+ 'builder.c',
+ 'button_box.c',
+ 'changedisplay.c',
+ 'clipboard.c',
+ 'colorsel.c',
+ 'combobox.c',
+ 'css_accordion.c',
+ 'css_basics.c',
+ 'css_blendmodes.c',
+ 'css_multiplebgs.c',
+ 'css_pixbufs.c',
+ 'css_shadows.c',
+ 'cursors.c',
+ 'dialog.c',
+ 'drawingarea.c',
+ 'editable_cells.c',
+ 'entry_buffer.c',
+ 'entry_completion.c',
+ 'event_axes.c',
+ 'expander.c',
+ 'filtermodel.c',
+ 'foreigndrawing.c',
+ 'gestures.c',
+ 'glarea.c',
+ 'headerbar.c',
+ 'hypertext.c',
+ 'iconview.c',
+ 'iconview_edit.c',
+ 'images.c',
+ 'infobar.c',
+ 'links.c',
+ 'listbox.c',
+ 'flowbox.c',
+ 'list_store.c',
+ 'markup.c',
+ 'menus.c',
+ 'modelbutton.c',
+ 'offscreen_window.c',
+ 'offscreen_window2.c',
+ 'overlay.c',
+ 'overlay2.c',
+ 'panes.c',
+ 'pickers.c',
+ 'pixbufs.c',
+ 'popover.c',
+ 'printing.c',
+ 'revealer.c',
+ 'rotated_text.c',
+ 'scale.c',
+ 'search_entry.c',
+ 'search_entry2.c',
+ 'shortcuts.c',
+ 'sidebar.c',
+ 'sizegroup.c',
+ 'spinbutton.c',
+ 'spinner.c',
+ 'stack.c',
+ 'textmask.c',
+ 'textview.c',
+ 'textscroll.c',
+ 'theming_style_classes.c',
+ 'toolpalette.c',
+ 'transparent.c',
+ 'tree_store.c',
+
+ 'font_features.c', #TODO: IF BUILD_FONT_DEMO
+ 'pagesetup.c' #TODO: IF OS_UNIX
+])
+
+gtkdemo_sources = demos_base + files([
+ 'main.c',
+])
+
+
+gtkdemo_resources = gnome.compile_resources(
+ 'gtkdemo_resources',
+ 'demo.gresource.xml',
+ source_dir: '.'
+)
+
+gtkdemo = executable(
+ 'gtk3-demo',
+ gtkdemo_sources,
+ gtkdemo_resources,
+ dependencies: [libgtk_dep, harfbuzz_dep],
+ include_directories : confinc,
+ gui_app: true
+)
diff --git a/demos/meson.build b/demos/meson.build
index eec48fda01..2fdd19151d 100644
--- a/demos/meson.build
+++ b/demos/meson.build
@@ -1,2 +1,3 @@
subdir('icon-browser')
subdir('widget-factory')
+ subdir('gtk-demo')