]> git.ipfire.org Git - thirdparty/curl.git/commit
cmake: create `configurehelp.pm` like autotools does
authorViktor Szakats <commit@vsz.me>
Mon, 8 Jul 2024 16:32:34 +0000 (18:32 +0200)
committerViktor Szakats <commit@vsz.me>
Tue, 16 Jul 2024 09:41:52 +0000 (11:41 +0200)
commitc09db8b51b88ee6ad55bd637dcb4b47678e30906
tree388881ca1ef57340ecdb751e9ea3d2799c34fd68
parentd2ef6255f4a040397d2f40ab7cbf65a203201cd9
cmake: create `configurehelp.pm` like autotools does

Required by tests 1119 and 1167 to run a C preprocessor.

Tested OK: https://github.com/curl/curl/actions/runs/9915343826

Besides Apple, it also supports any gcc and clang builds, and MSVC.
For other platforms, it defaults to `cpp` (like autotools).

Follow-up to efc2c5184d008fe2e5910fd03263e1ab0331d4e6 #14124
Cherry-picked from #14097
Closes #14129
tests/CMakeLists.txt