diff options
author | Brad King <brad.king@kitware.com> | 2017-08-30 14:54:43 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-08-30 14:55:24 (GMT) |
commit | 82d9bbf2b713de4db2810c202db26c4b18a22e9c (patch) | |
tree | 38595a29e14f4b0ee2129e36b33a5865c035cde7 /Source/cmTarget.cxx | |
parent | 2df8dbcdf26f6301d4c23e0988d6e4ebe3b7cae5 (diff) | |
parent | 311b7b1a7095ec460fab950a6767571eb3b9652c (diff) | |
download | CMake-82d9bbf2b713de4db2810c202db26c4b18a22e9c.zip CMake-82d9bbf2b713de4db2810c202db26c4b18a22e9c.tar.gz CMake-82d9bbf2b713de4db2810c202db26c4b18a22e9c.tar.bz2 |
Merge topic 'add-cppcheck'
311b7b1a Add properties to run cppcheck along with the compiler
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1147
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index d4a0bf5..1ca013c 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -262,6 +262,7 @@ cmTarget::cmTarget(std::string const& name, cmStateEnums::TargetType type, this->SetPropertyDefault("C_CLANG_TIDY", nullptr); this->SetPropertyDefault("C_COMPILER_LAUNCHER", nullptr); this->SetPropertyDefault("C_CPPLINT", nullptr); + this->SetPropertyDefault("C_CPPCHECK", nullptr); this->SetPropertyDefault("C_INCLUDE_WHAT_YOU_USE", nullptr); this->SetPropertyDefault("LINK_WHAT_YOU_USE", nullptr); this->SetPropertyDefault("C_STANDARD", nullptr); @@ -270,6 +271,7 @@ cmTarget::cmTarget(std::string const& name, cmStateEnums::TargetType type, this->SetPropertyDefault("CXX_CLANG_TIDY", nullptr); this->SetPropertyDefault("CXX_COMPILER_LAUNCHER", nullptr); this->SetPropertyDefault("CXX_CPPLINT", nullptr); + this->SetPropertyDefault("CXX_CPPCHECK", nullptr); this->SetPropertyDefault("CXX_INCLUDE_WHAT_YOU_USE", nullptr); this->SetPropertyDefault("CXX_STANDARD", nullptr); this->SetPropertyDefault("CXX_STANDARD_REQUIRED", nullptr); |