forked from qt-creator/qt-creator
Cppcheck: Add ability to manually run cppcheck
Run cppcheck on selected files from current project via "Analyze"->"Cppcheck...." Show results in a separate view in the same manner as ClangTools plugin. Fixes: QTCREATORBUG-21673 Change-Id: Ibcaf4057a387a990f1da59025f15ba58f996953f Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -5,6 +5,7 @@ QtcPlugin {
|
||||
|
||||
Depends { name: "Core" }
|
||||
Depends { name: "CppTools" }
|
||||
Depends { name: "Debugger" }
|
||||
Depends { name: "ProjectExplorer" }
|
||||
Depends { name: "TextEditor" }
|
||||
Depends { name: "Utils" }
|
||||
@@ -13,7 +14,15 @@ QtcPlugin {
|
||||
|
||||
files: [
|
||||
"cppcheckconstants.h",
|
||||
"cppcheckdiagnostic.cpp",
|
||||
"cppcheckdiagnostic.h",
|
||||
"cppcheckdiagnosticmanager.h",
|
||||
"cppcheckdiagnosticsmodel.cpp",
|
||||
"cppcheckdiagnosticsmodel.h",
|
||||
"cppcheckdiagnosticview.cpp",
|
||||
"cppcheckdiagnosticview.h",
|
||||
"cppcheckmanualrundialog.cpp",
|
||||
"cppcheckmanualrundialog.h",
|
||||
"cppcheckoptions.cpp",
|
||||
"cppcheckoptions.h",
|
||||
"cppcheckplugin.cpp",
|
||||
|
||||
Reference in New Issue
Block a user