aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_vulkan_cpp_demo.app
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-10-07 14:53:16 -0400
committerDavid Robillard <d@drobilla.net>2022-10-07 14:53:16 -0400
commit9b8d847284eea14d64d8d22cefde8103dee41132 (patch)
tree8a8634d1dd903b14e402cc1e5b100d309ae3c04e /examples/pugl_vulkan_cpp_demo.app
parent727b6835a63d2a163dae434e1090a14aa7011373 (diff)
downloadpugl-9b8d847284eea14d64d8d22cefde8103dee41132.tar.gz
pugl-9b8d847284eea14d64d8d22cefde8103dee41132.tar.bz2
pugl-9b8d847284eea14d64d8d22cefde8103dee41132.zip
Clean up meson definitions
Diffstat (limited to 'examples/pugl_vulkan_cpp_demo.app')
-rw-r--r--examples/pugl_vulkan_cpp_demo.app/MacOS/meson.build5
-rw-r--r--examples/pugl_vulkan_cpp_demo.app/meson.build24
2 files changed, 17 insertions, 12 deletions
diff --git a/examples/pugl_vulkan_cpp_demo.app/MacOS/meson.build b/examples/pugl_vulkan_cpp_demo.app/MacOS/meson.build
index b0f9ca0..b120b32 100644
--- a/examples/pugl_vulkan_cpp_demo.app/MacOS/meson.build
+++ b/examples/pugl_vulkan_cpp_demo.app/MacOS/meson.build
@@ -4,7 +4,8 @@ executable(
'../../pugl_vulkan_cpp_demo.cpp',
'../../file_utils.c',
],
- include_directories: include_directories('../../..'),
c_args: example_defines + example_c_args,
cpp_args: example_defines + example_cpp_args,
- dependencies: [puglpp_dep, vulkan_backend_dep])
+ dependencies: [puglpp_dep, vulkan_backend_dep],
+ include_directories: include_directories('../../..'),
+)
diff --git a/examples/pugl_vulkan_cpp_demo.app/meson.build b/examples/pugl_vulkan_cpp_demo.app/meson.build
index 90b2329..58a943c 100644
--- a/examples/pugl_vulkan_cpp_demo.app/meson.build
+++ b/examples/pugl_vulkan_cpp_demo.app/meson.build
@@ -12,16 +12,20 @@ shaders = [
cp = find_program('../../scripts/cp.py')
-custom_target('rect.vert.spv',
- input: rect_vert_spv,
- output: 'rect.vert.spv',
- command: [cp, '@INPUT@', '@OUTPUT@'],
- build_by_default: true)
+custom_target(
+ 'rect.vert.spv',
+ build_by_default: true,
+ command: [cp, '@INPUT@', '@OUTPUT@'],
+ input: rect_vert_spv,
+ output: 'rect.vert.spv',
+)
-custom_target('rect.frag.spv',
- input: rect_frag_spv,
- output: 'rect.frag.spv',
- command: [cp, '@INPUT@', '@OUTPUT@'],
- build_by_default: true)
+custom_target(
+ 'rect.frag.spv',
+ build_by_default: true,
+ command: [cp, '@INPUT@', '@OUTPUT@'],
+ input: rect_frag_spv,
+ output: 'rect.frag.spv',
+)
subdir('MacOS')