mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 02:56:17 +00:00
cmake: BUILD_CLAR is now BUILD_TESTS
Nobody knows what CLAR is. The test building option should be `BUILD_TESTS`.
This commit is contained in:
@@ -19,7 +19,7 @@ automated fuzz testing. libFuzzer only works with clang.
|
||||
and [`leak`/`address,leak`](https://clang.llvm.org/docs/LeakSanitizer.html).
|
||||
3. Create the cmake build environment and configure the build with the
|
||||
sanitizer chosen: `CC=/usr/bin/clang-6.0 CFLAGS="-fsanitize=address" cmake
|
||||
-DBUILD_CLAR=OFF -DBUILD_FUZZERS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo ..`.
|
||||
-DBUILD_TESTS=OFF -DBUILD_FUZZERS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo ..`.
|
||||
Note that building the fuzzer targets is incompatible with the
|
||||
tests and examples.
|
||||
4. Build libgit2: `cmake --build .`
|
||||
|
||||
Reference in New Issue
Block a user