aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2022-05-20 18:45:35 +0200
committerGitHub <[email protected]>2022-05-20 18:45:35 +0200
commitf0d389a4430b62bfa8ea0852905fcf84065b08c2 (patch)
tree450344815e7bb7c3dde0d94f6032f048f3430527 /xmake.lua
parentfix mac compilation error (diff)
downloadzen-f0d389a4430b62bfa8ea0852905fcf84065b08c2.tar.xz
zen-f0d389a4430b62bfa8ea0852905fcf84065b08c2.zip
Add catch2 support (#101)
Added option to use catch2 for unit tests Currently both doctest and catch2 are supported via some compatibility macros. doctest is the default, and ZEN_USE_CATCH2 needs to be defined to switch to catch2. Our goal is to evaluate how well catch2 works and switch to catch2 if everything pans out since UE5 now supports using catch2 for unit tests.
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake.lua b/xmake.lua
index 5ddcf7ce8..e4d795fcf 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -5,6 +5,7 @@ set_configvar("ZEN_SCHEMA_VERSION", 3) -- changed cas oplog format (p3rl)
add_requires(
"vcpkg::asio",
+ "vcpkg::catch2",
"vcpkg::cpr",
"vcpkg::curl",
"vcpkg::cxxopts",