diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2025-09-04 22:24:13 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2025-09-04 22:24:13 +0200 |
| commit | 65860e6c873e6e056fe3d1dadd1d309b1bd66e7b (patch) | |
| tree | cb59ed23c72b841fc2688606d68359b3f6b1e324 /meson.build | |
| parent | d75b25d50f4df655d1e69ff900cfeee823039296 (diff) | |
Add UTF-8, UTF-16 and Modified UTF-8 support
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 18 |
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)) |
