Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/Progmasoft/meson.build
diff options
context:
space:
mode:
authorLeitwolf112026-09-24 22:07:03 +0300
committerLeitwolf112026-09-24 22:07:03 +0300
commit9ad804cedf4cc4a85ef89fe097f97a3b44654360 (patch)
treef088e919776b22d19387377bdbec727daa2429c0 /src/Progmasoft/meson.build
parent02f8b5593a15cdec8558256e6f40a0c7fb5862d6 (diff)
downloadcatch3-0.1.0.tar.gz
Add Progmasoft Catch3 property testing and build support0.1.0
Introduce deterministic property execution, built-in generators, shrinking, replayable seeds, and a separate Progmasoft-owned header API while preserving Catch2 compatibility targets and the C++14 engine baseline. Add Bazel, Meson, Xmake, and Premake integration and tests alongside the existing CMake build. Replace Linux-only workflow coverage with Windows and macOS jobs and document the Catch2/Catch3 distinction.
Diffstat (limited to 'src/Progmasoft/meson.build')
-rw-r--r--src/Progmasoft/meson.build18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Progmasoft/meson.build b/src/Progmasoft/meson.build
new file mode 100644
index 00000000..109edaa4
--- /dev/null
+++ b/src/Progmasoft/meson.build
@@ -0,0 +1,18 @@
+# Copyright (c) 2026 Progmasoft.
+# SPDX-License-Identifier: MPL-2.0 WITH AdditionRef-Progmasoft-Exception-1.1
+
+# Expose the header-only C++20 layer without raising Catch2's C++14 baseline.
+progmasoft_catch3_dep = declare_dependency(
+ dependencies: catch2_dep,
+ include_directories: include_directories('..'),
+)
+
+if get_option('install')
+ install_headers('Catch3.hpp', subdir: 'Progmasoft')
+ install_headers('Catch3/Assertions.hpp', subdir: 'Progmasoft/Catch3')
+ install_headers('Catch3/Generator.hpp', subdir: 'Progmasoft/Catch3')
+ install_headers('Catch3/Property.hpp', subdir: 'Progmasoft/Catch3')
+ install_headers('Catch3/Random.hpp', subdir: 'Progmasoft/Catch3')
+ install_headers('Catch3/Generators/Boolean.hpp', subdir: 'Progmasoft/Catch3/Generators')
+ install_headers('Catch3/Generators/Integer.hpp', subdir: 'Progmasoft/Catch3/Generators')
+endif