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:
Edward Thomson
2021-09-26 22:06:49 -04:00
parent e61abdce43
commit 4e14d4c6a6
6 changed files with 19 additions and 19 deletions

View File

@@ -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 .`