]> git.ipfire.org Git - thirdparty/curl.git/commit
cmake: unity mode optimization for non-`CURLDEBUG` `testdeps` targets
authorViktor Szakats <commit@vsz.me>
Thu, 13 Mar 2025 00:20:52 +0000 (01:20 +0100)
committerViktor Szakats <commit@vsz.me>
Thu, 13 Mar 2025 10:36:53 +0000 (11:36 +0100)
commit77401af4852103b215fe74989e89be61bbf435d2
tree5d17f20060fb242689e344e678eedba306b2b794
parent5a26b901d47f81915381b5ea188d87f173415a58
cmake: unity mode optimization for non-`CURLDEBUG` `testdeps` targets

Include more sources in unity mode to optimize libtest and tests/server
builds for non-debug-enabled builds, syncing this pattern with `lib` and
`src`.

It reduces build steps from 62 to 47 (-14, -24%) with test bundles.
Without test bundles, from 680 to 642 (-38, -6%).

Follow-up to de0693f24943cd65f26a7b421a4304cbadb875a0 #16274
Follow-up to 3efba94f773db5d8ae19e33aa749ab7914cafeea #14765
Cherry-picked from #15000
Closes #16695
tests/libtest/CMakeLists.txt
tests/server/CMakeLists.txt