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

summaryrefslogtreecommitdiffhomepage
path: root/tests/TestScripts/testConfigureDisableStringification.py
diff options
context:
space:
mode:
authorLeitwolf112026-11-17 21:54:23 +0300
committerLeitwolf112026-11-17 21:54:23 +0300
commit5da6bc7b6ab2f857d7be70d5ad966636b33d8164 (patch)
tree91ad3956d0463c5bc2c833624f3b2ff1cd271979 /tests/TestScripts/testConfigureDisableStringification.py
parent2de8e46a15b2967438125f69dc6cfbadca14573d (diff)
downloadcatch3-5da6bc7b6ab2f857d7be70d5ad966636b33d8164.tar.gz
Let an installed Catch3 link with -lCatch3 and -lCatch3Main in every build
CMake named the files of a debug build libCatch3d and libCatch3Maind, so -lCatch3 and -lCatch3Main found only a release install. Premake named the library with main Catch3WithMain, and Xmake named both after their targets (catch3, catch3_main). The files are now libCatch3 and libCatch3Main in CMake, Meson, Xmake and Premake. The debug "d" stays on Windows only, where a debug build links the debug C runtime and a debug and a release build are installed side by side. Target names and the pkg-config modules catch3 and catch3-with-main are unchanged. The Ubuntu install job now compiles a test against the installed tree with -lCatch3Main -lCatch3, and again through pkg-config, and runs both. docs/progmasoft-catch3.md says how to link without a build system. Checked locally: a CMake Debug install gives libCatch3.a and libCatch3Main.a, and a test links both ways and passes; Xmake builds libCatch3.a and libCatch3Main.a; Premake's makefiles name libCatch3.a and libCatch3Main.a. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tests/TestScripts/testConfigureDisableStringification.py')
0 files changed, 0 insertions, 0 deletions