aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/meson.build8
-rw-r--r--examples/pugl_cpp_demo.cpp (renamed from examples/pugl_cxx_demo.cpp)2
-rw-r--r--examples/pugl_vulkan_cpp_demo.cpp (renamed from examples/pugl_vulkan_cxx_demo.cpp)0
-rw-r--r--examples/pugl_vulkan_demo.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/examples/meson.build b/examples/meson.build
index a0b851c..5f2f9b4 100644
--- a/examples/meson.build
+++ b/examples/meson.build
@@ -2,7 +2,7 @@ data_dir = get_option('prefix') / get_option('datadir') / 'pugl-0'
example_args = ['-DPUGL_DATA_DIR="@0@"'.format(data_dir)]
gl_examples = [
- 'pugl_cxx_demo.cpp',
+ 'pugl_cpp_demo.cpp',
'pugl_embed_demo.c',
'pugl_print_events.c',
'pugl_shader_demo.c',
@@ -14,14 +14,14 @@ cairo_examples = [
]
vulkan_examples = [
- 'pugl_vulkan_cxx_demo.cpp',
+ 'pugl_vulkan_cpp_demo.cpp',
'pugl_vulkan_demo.c',
]
includes = include_directories(
'.',
'..',
- '../bindings/cxx/include',
+ '../bindings/cpp/include',
'../include',
)
@@ -67,7 +67,7 @@ if vulkan_dep.found()
target = example.split('.')[0]
dependencies = [dl_dep, vulkan_backend_dep]
- if target == 'pugl_vulkan_cxx_demo'
+ if target == 'pugl_vulkan_cpp_demo'
source += ['file_utils.c']
endif
diff --git a/examples/pugl_cxx_demo.cpp b/examples/pugl_cpp_demo.cpp
index d663a3f..e49c416 100644
--- a/examples/pugl_cxx_demo.cpp
+++ b/examples/pugl_cpp_demo.cpp
@@ -112,7 +112,7 @@ main(int argc, char** argv)
{
const PuglTestOptions opts = puglParseTestOptions(&argc, &argv);
if (opts.help) {
- puglPrintTestUsage("pugl_cxx_demo", "");
+ puglPrintTestUsage("pugl_cpp_demo", "");
return 1;
}
diff --git a/examples/pugl_vulkan_cxx_demo.cpp b/examples/pugl_vulkan_cpp_demo.cpp
index d92e652..d92e652 100644
--- a/examples/pugl_vulkan_cxx_demo.cpp
+++ b/examples/pugl_vulkan_cpp_demo.cpp
diff --git a/examples/pugl_vulkan_demo.c b/examples/pugl_vulkan_demo.c
index efbf339..801b74b 100644
--- a/examples/pugl_vulkan_demo.c
+++ b/examples/pugl_vulkan_demo.c
@@ -19,7 +19,7 @@
A simple example of drawing with Vulkan.
For a more advanced demo that actually draws something interesting, see
- pugl_vulkan_cxx_demo.cpp.
+ pugl_vulkan_cpp_demo.cpp.
*/
#include "demo_utils.h"