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