|
8715c3d51b
|
cmake: add integration tests
Add a small project to test dependent/downstream CMake build using
libssh2. Also added to the GHA CI, and you can also run it locally with
`tests/cmake/test.sh`.
Test three methods of integrating libssh2 into a project:
- via `find_package()`:
https://cmake.org/cmake/help/latest/command/find_package.html
- via `add_subdirectory()`:
https://cmake.org/cmake/help/latest/command/add_subdirectory.html
- via `FetchContent`:
https://cmake.org/cmake/help/latest/module/FetchContent.html
Closes #1170
|
2023-08-17 09:01:08 +00:00 |
|