]> git.stg.codes - stg.git/blobdiff - CMakeLists.txt
Disable cppcheck for foreign libs by default.
[stg.git] / CMakeLists.txt
index 7e8fd09a25b1532863e069e94903c6a5c8ef07c4..6a3ff7499cbff3bb00a257dfa0171054178544bd 100644 (file)
@@ -39,6 +39,9 @@ option ( BUILD_TESTS "Build tests." OFF )
 option ( BUILD_ALL "Build binaries, libraries and tests." OFF )
 option ( ENABLE_COVERAGE "Enable code coverage analysis." OFF )
 
+# CPPCheck-related
+option ( CPPCHECK_FOREIGN "Run cppcheck over foreign lib code" OFF )
+
 if ( BUILD_ALL )
     set ( BUILD_ALL_MODS ON )
     set ( BUILD_ALL_LIBS ON )