summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build18
1 files changed, 17 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 15dc548..5d39c12 100644
--- a/meson.build
+++ b/meson.build
@@ -3,7 +3,7 @@ project(
'cpp',
version : '0.1',
meson_version : '>= 1.3.0',
- default_options : ['warning_level=3', 'cpp_std=c++20'],
+ default_options : ['warning_level=3', 'cpp_std=c++23'],
)
conf_data = configuration_data()
@@ -22,6 +22,10 @@ exe = executable(
sources: [
'src/args.cc',
'src/args.hh',
+ 'src/u.hh',
+ 'src/u16.hh',
+ 'src/u8.hh',
+ 'src/umod8.hh',
'src/main.cc',
],
include_directories: inc,
@@ -44,3 +48,15 @@ test('args', executable(
],
include_directories: inc,
dependencies : test_dependencies))
+
+test('u', executable(
+ 'test_u',
+ sources: [
+ 'src/u.hh',
+ 'src/u16.hh',
+ 'src/u8.hh',
+ 'src/umod8.hh',
+ 'test/u.cc',
+ ],
+ include_directories: inc,
+ dependencies : test_dependencies))