aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_window_demo.app
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pugl_window_demo.app')
-rw-r--r--examples/pugl_window_demo.app/MacOS/meson.build7
-rw-r--r--examples/pugl_window_demo.app/meson.build8
2 files changed, 15 insertions, 0 deletions
diff --git a/examples/pugl_window_demo.app/MacOS/meson.build b/examples/pugl_window_demo.app/MacOS/meson.build
new file mode 100644
index 0000000..84b4c59
--- /dev/null
+++ b/examples/pugl_window_demo.app/MacOS/meson.build
@@ -0,0 +1,7 @@
+executable(
+ 'pugl_window_demo',
+ '../../pugl_window_demo.c',
+ include_directories: include_directories('../../../../include', '../../..'),
+ c_args: example_defines + example_c_args,
+ cpp_args: example_defines + example_cpp_args,
+ dependencies: [pugl_dep, gl_backend_dep])
diff --git a/examples/pugl_window_demo.app/meson.build b/examples/pugl_window_demo.app/meson.build
new file mode 100644
index 0000000..2d1cd9a
--- /dev/null
+++ b/examples/pugl_window_demo.app/meson.build
@@ -0,0 +1,8 @@
+config = configuration_data()
+config.set('NAME', 'pugl_window_demo')
+
+info_plist = configure_file(configuration: config,
+ input: files('../../resources/Info.plist.in'),
+ output: 'Info.plist')
+
+subdir('MacOS')