]> git.ipfire.org Git - thirdparty/curl.git/commit
cmake: misc tidy-ups
authorViktor Szakats <commit@vsz.me>
Fri, 7 Feb 2025 12:44:39 +0000 (13:44 +0100)
committerViktor Szakats <commit@vsz.me>
Sun, 16 Feb 2025 02:37:22 +0000 (03:37 +0100)
commit45f7cb7695b0fe0c61f71bdfbe31d161d50a5f51
tree7892d1b9a268e01ee05462483a57385a19b95d92
parentca2f49ded03426a246b3db7833592157cdd7f597
cmake: misc tidy-ups

- replace `add_compile_options()`,  `add_definitions()` with directory
  properties. To harmonize this across all scripts. The new commands are
  verbose, but describe better how they work. The syntax is also closer
  to setting target properties, helps grepping.

- prefer `CMAKE_INSTALL_PREFIX` over `--prefix` (in tests, CI).

- tidy up cmake invocations.

- formatting.

Closes #16238
.github/workflows/linux.yml
.github/workflows/non-native.yml
CMakeLists.txt
appveyor.sh
docs/HTTP3.md
lib/CMakeLists.txt
src/CMakeLists.txt
tests/cmake/test.sh