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

summaryrefslogtreecommitdiffhomepage
path: root/xmake.lua
diff options
context:
space:
mode:
authorLeitwolf112026-09-24 23:05:47 +0300
committerLeitwolf112026-09-24 23:05:47 +0300
commitd79b294903e4d0f4b24fdf1cc50be4b0fec7f745 (patch)
tree64f0c7c3dfbc08bfb70d9a37df5cccae3d52b526 /xmake.lua
parent9ad804cedf4cc4a85ef89fe097f97a3b44654360 (diff)
downloadcatch3-0.2.0.tar.gz
Add snapshots and JUnit result serialization0.2.0
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua15
1 files changed, 12 insertions, 3 deletions
diff --git a/xmake.lua b/xmake.lua
index 221351c3..8138e4e8 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -33,17 +33,26 @@ target("catch2_main")
add_deps("catch2")
add_includedirs("src", generated_include, {public = true})
--- This is a header-only C++20 layer over the compatibility engine.
+-- Compile Progmasoft's implementation separately from the compatibility engine.
target("ProgmasoftCatch3")
- set_kind("headeronly")
+ set_kind("static")
set_languages("cxx20")
add_headerfiles("src/Progmasoft/**.hpp", {prefixdir = ""})
+ add_files(
+ "src/Progmasoft/Results.cpp",
+ "src/Progmasoft/Snapshot.cpp",
+ "src/Progmasoft/XmlWriter.cpp"
+ )
add_includedirs("src", {public = true})
add_deps("catch2", {public = true})
target("ProgmasoftPropertyTests")
set_kind("binary")
set_languages("cxx20")
- add_files("tests/Progmasoft/Property.tests.cpp")
+ add_files(
+ "tests/Progmasoft/Property.tests.cpp",
+ "tests/Progmasoft/Results.tests.cpp",
+ "tests/Progmasoft/Snapshot.tests.cpp"
+ )
add_includedirs("src", generated_include)
add_deps("ProgmasoftCatch3", "catch2_main")