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

summaryrefslogtreecommitdiffhomepage
path: root/xmake.lua
diff options
context:
space:
mode:
authorLeitwolf2026-11-18 03:25:42 +0300
committerGitHub2026-11-18 03:25:42 +0300
commitb5c71571e0b00e91e5a3ac1230ad8fa883fc680d (patch)
tree3edca41d0e8890a3b3de12a362074c40ecc0eb97 /xmake.lua
parent1968fad3a2504a398807e500af292ccfd6f805fc (diff)
parente69ece56074c7a1a96d8db3b6b5a76ac2d872adc (diff)
downloadcatch3-fix/tolower-sign-conversion.tar.gz
Merge branch 'devel' into fix/tolower-sign-conversionfix/tolower-sign-conversion
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake.lua b/xmake.lua
index 5a95e50f..7e7fdaa4 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -18,6 +18,9 @@ includes("third_party/yyjson", "third_party/pugixml")
-- library and the code that includes it need C++17.
target("catch3")
set_kind("static")
+ -- The files are Catch3 and Catch3Main, as in CMake and Meson, so that an
+ -- installed Catch3 links with -lCatch3 and -lCatch3Main.
+ set_basename("Catch3")
on_load(function(target)
-- File I/O is restricted to Xmake's script domain, so generate here
-- rather than while the declarative project file is being evaluated.
@@ -45,6 +48,7 @@ target("catch3")
target("catch3_main")
set_kind("static")
+ set_basename("Catch3Main")
add_files("src/Progmasoft/Catch3/Internal/Main.cpp")
add_deps("catch3")
add_includedirs("src", generated_include, {public = true})