Skip to content

Commit 8c87b4b

Browse files
authored
Add BUILD_TESTS Flag to Readme for CMake [skip ci] (cppcheck-opensource#5973)
See title as i was developing on Linux didn't found the option for building the test binary. With some feedback and examination of the Actions i found that the BUILD_TESTS flag should be enabled. Added that to Readme.
1 parent 4eecf7b commit 8c87b4b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ For rules support (requires pcre) use the flag.
6464
For release builds it is recommended that you use:
6565
-DUSE_MATCHCOMPILER=ON
6666

67+
For building the tests use the flag.
68+
-DBUILD_TESTS=ON
69+
6770
Using cmake you can generate project files for Visual Studio,XCode,etc.
6871

6972
#### Building a specific configuration

0 commit comments

Comments
 (0)