mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:13:31 +03:00
cmake: add integration tests, run them in CI
Add CMake test project consuming curl via these methods: `FetchContent`, `add_subdirectory()`, `find_package()`. Also: - GHA/distcheck: run these tests in CI. - cmakelint: exclude a warning for calling "wonky-cased" built-in CMake functions, such as `FetchContent_Declare()`. Closes #16126
This commit is contained in:
parent
2b9b3ec579
commit
fb70812437
9 changed files with 197 additions and 5 deletions
|
|
@ -47,7 +47,7 @@ function(curl_dumpvars)
|
|||
if(_var_advanced)
|
||||
set(_var_advanced " [adv]")
|
||||
endif()
|
||||
message("${_var}${_var_type}${_var_advanced} = ${${_var}}")
|
||||
message("${_var}${_var_type}${_var_advanced} = '${${_var}}'")
|
||||
endforeach()
|
||||
message("::endgroup::")
|
||||
endfunction()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue