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

summaryrefslogtreecommitdiffhomepage
path: root/xmake.lua
diff options
context:
space:
mode:
authorLeitwolf2026-10-29 12:18:33 +0300
committerGitHub2026-10-29 12:18:33 +0300
commit1d48419b7ef642917ebf7dfd16c3bc1b3050d8f1 (patch)
tree2e3327fb973f9560b5067d654f3a21ff12a821aa /xmake.lua
parentd2e3e074bb2e1b8ffd9fc990d0b87667ea602f58 (diff)
parent30176b75937e87eafbb4f5557eb0be9697753ddf (diff)
downloadcatch3-1d48419b7ef642917ebf7dfd16c3bc1b3050d8f1.tar.gz
Merge pull request #19 from Progmasoft/feature/yyjson-pugixml
Read and write JSON with yyjson and JUnit XML with pugixml
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake.lua b/xmake.lua
index 34f57342..4e51fc71 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -10,6 +10,9 @@ local repository_root = os.projectdir()
local generated_include = path.join(repository_root, ".xmake", "generated")
add_moduledirs(path.join(repository_root, "buildsupport"))
+-- yyjson and pugixml, compiled into the library.
+includes("third_party/yyjson", "third_party/pugixml")
+
-- The Catch2-compatible engine, the Catch3 runner, which replaced Catch2's
-- session, command line and reporters, property testing and snapshots. The
-- library is C++20; the engine's headers still need only C++14 in the code
@@ -37,6 +40,9 @@ target("catch3")
)
add_includedirs("src", {public = true})
add_headerfiles("src/(Progmasoft/**.hpp)")
+ -- The JSON and XML libraries of the runner are compiled into its own
+ -- translation units.
+ add_deps("catch3_yyjson", "catch3_pugixml")
target("catch3_main")
set_kind("static")