1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-08-08 19:02:07 +03:00

Add a LINT option to CMake (#372)

* ci: make style-checking available locally

* cmake: add a linting target

* tests: check test suite syntax with checksrc.pl
This commit is contained in:
Etienne Samson
2021-02-02 19:28:28 +01:00
committed by GitHub
parent cde13f6201
commit 1adb24fd07
18 changed files with 77 additions and 46 deletions

View File

@@ -42,6 +42,11 @@ pass the options to CMake on the command line:
The following options are available:
* `LINT=ON`
Enables running the source code linter when building. Can be `ON` or `OFF`.
* `BUILD_SHARED_LIBS=OFF`
Determines whether libssh2 is built as a static library or as a