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

summaryrefslogtreecommitdiffhomepage
path: root/xmake.lua
diff options
context:
space:
mode:
authorLeitwolf112026-09-25 00:36:48 +0300
committerLeitwolf112026-09-25 00:36:48 +0300
commitc3a325d284ab2487f472f3a8b928c0b12a200979 (patch)
treed872ed47f5f0619bd1b95b600a7bf8d8d8c33baa /xmake.lua
parentcbb65f9db0cead23ea03897eb5a13cf159a054d5 (diff)
downloadcatch3-c3a325d284ab2487f472f3a8b928c0b12a200979.tar.gz
Complete Catch3 documentation and Windows CI: distinguish compatibility docs, correct fork integration, fix Conan CRT and Xmake test entry point
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua8
1 files changed, 6 insertions, 2 deletions
diff --git a/xmake.lua b/xmake.lua
index 8138e4e8..82fc0726 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -52,7 +52,11 @@ target("ProgmasoftPropertyTests")
add_files(
"tests/Progmasoft/Property.tests.cpp",
"tests/Progmasoft/Results.tests.cpp",
- "tests/Progmasoft/Snapshot.tests.cpp"
+ "tests/Progmasoft/Snapshot.tests.cpp",
+ "src/catch2/internal/catch_main.cpp"
)
add_includedirs("src", generated_include)
- add_deps("ProgmasoftCatch3", "catch2_main")
+ -- MSVC's linker does not discover an otherwise unreferenced main() in a
+ -- static archive. Compile the compatibility entry point into this test
+ -- executable while retaining catch2_main for downstream consumers.
+ add_deps("ProgmasoftCatch3")