From 1118da579607bac768ae953fecadb6153818488d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 20 May 2022 10:41:34 -0400 Subject: MacOS: Build examples as application bundles This is required on MacOS to make the examples usable. When run as bare programs, they don't show up as normal windows or receive keyboard input. --- examples/pugl_vulkan_cpp_demo.app/MacOS/meson.build | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 examples/pugl_vulkan_cpp_demo.app/MacOS/meson.build (limited to 'examples/pugl_vulkan_cpp_demo.app/MacOS/meson.build') diff --git a/examples/pugl_vulkan_cpp_demo.app/MacOS/meson.build b/examples/pugl_vulkan_cpp_demo.app/MacOS/meson.build new file mode 100644 index 0000000..2ff4e87 --- /dev/null +++ b/examples/pugl_vulkan_cpp_demo.app/MacOS/meson.build @@ -0,0 +1,10 @@ +executable( + 'pugl_vulkan_cpp_demo', + [ + '../../pugl_vulkan_cpp_demo.cpp', + '../../file_utils.c', + ], + include_directories: include_directories('../../../../include', '../../..'), + c_args: example_defines + example_c_args, + cpp_args: example_defines + example_cpp_args, + dependencies: [puglpp_dep, vulkan_backend_dep]) -- cgit v1.2.1