aboutsummaryrefslogtreecommitdiffstats
path: root/examples/meson.build
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-04-27 22:09:25 -0400
committerDavid Robillard <d@drobilla.net>2021-04-27 22:09:25 -0400
commit37cb56903a5850f4544b7ec6c9937f6ecaa74d7a (patch)
treefac793d8856925dc2ae97e3a025d66abca934924 /examples/meson.build
parente67425c7f32d4ea25dfb92e44a9331914ae3d47e (diff)
downloadpugl-37cb56903a5850f4544b7ec6c9937f6ecaa74d7a.tar.gz
pugl-37cb56903a5850f4544b7ec6c9937f6ecaa74d7a.tar.bz2
pugl-37cb56903a5850f4544b7ec6c9937f6ecaa74d7a.zip
Simplify meson configuration
Diffstat (limited to 'examples/meson.build')
-rw-r--r--examples/meson.build10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/meson.build b/examples/meson.build
index d455faf..a0b851c 100644
--- a/examples/meson.build
+++ b/examples/meson.build
@@ -18,12 +18,12 @@ vulkan_examples = [
'pugl_vulkan_demo.c',
]
-includes = [
+includes = include_directories(
'.',
'..',
'../bindings/cxx/include',
'../include',
-]
+)
subdir('shaders')
@@ -42,7 +42,7 @@ if opengl_dep.found()
endif
executable(target, source,
- include_directories: include_directories(includes),
+ include_directories: includes,
c_args: example_args,
cpp_args: example_args,
dependencies: dependencies)
@@ -54,7 +54,7 @@ if cairo_dep.found()
foreach example : cairo_examples
target = example.split('.')[0]
executable(target, example,
- include_directories: include_directories(includes),
+ include_directories: includes,
c_args: example_args,
dependencies: [pugl_dep, cairo_backend_dep])
endforeach
@@ -72,7 +72,7 @@ if vulkan_dep.found()
endif
executable(target, source,
- include_directories: include_directories(includes),
+ include_directories: includes,
c_args: example_args,
cpp_args: example_args,
dependencies: dependencies)