forked from qt-creator/qt-creator
Cppcheck: Add cppcheck static analysis tool
Automatically checks currently opened documents and displays results via text marks/annotations. CppcheckTrigger detects when to check files or clear results. CppcheckTextMarkManager stores/clears text marks with checks' results. CppcheckTool generates run arguments and parses output. CppcheckRunner runs cppcheck binary. CppcheckOptions configures CppcheckTool. Task-number: QTCREATORBUG-20418 Change-Id: I8eafeac7af6137d2c9061ae75d4a56c85b3b5a2d Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
33
src/plugins/cppcheck/cppcheck.qbs
Normal file
33
src/plugins/cppcheck/cppcheck.qbs
Normal file
@@ -0,0 +1,33 @@
|
||||
import qbs
|
||||
|
||||
QtcPlugin {
|
||||
name: "Cppcheck"
|
||||
|
||||
Depends { name: "Core" }
|
||||
Depends { name: "CppTools" }
|
||||
Depends { name: "ExtensionSystem" }
|
||||
Depends { name: "ProjectExplorer" }
|
||||
Depends { name: "TextEditor" }
|
||||
Depends { name: "Utils" }
|
||||
|
||||
Depends { name: "Qt.widgets" }
|
||||
|
||||
files: [
|
||||
"cppcheckconstants.h",
|
||||
"cppcheckdiagnostic.h",
|
||||
"cppcheckoptions.cpp",
|
||||
"cppcheckoptions.h",
|
||||
"cppcheckplugin.cpp",
|
||||
"cppcheckplugin.h",
|
||||
"cppcheckrunner.cpp",
|
||||
"cppcheckrunner.h",
|
||||
"cppchecktextmark.cpp",
|
||||
"cppchecktextmark.h",
|
||||
"cppchecktextmarkmanager.cpp",
|
||||
"cppchecktextmarkmanager.h",
|
||||
"cppchecktool.cpp",
|
||||
"cppchecktool.h",
|
||||
"cppchecktrigger.cpp",
|
||||
"cppchecktrigger.h"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user