2019-05-12 22:20:56 +02:00
|
|
|
if (WITH_TESTS)
|
|
|
|
|
set(TST_COMPONENT QmakeProjectManager)
|
|
|
|
|
endif()
|
|
|
|
|
|
2019-07-30 15:26:31 +02:00
|
|
|
find_package(yaml-cpp QUIET MODULE)
|
|
|
|
|
|
2019-05-12 22:20:56 +02:00
|
|
|
add_qtc_plugin(ClangTools
|
2020-06-05 16:58:32 +02:00
|
|
|
CONDITION TARGET yaml-cpp
|
|
|
|
|
DEPENDS ClangSupport yaml-cpp
|
2019-05-12 22:20:56 +02:00
|
|
|
PLUGIN_DEPENDS Core Debugger CppTools ${TST_COMPONENT}
|
2020-03-26 13:20:58 +01:00
|
|
|
PLUGIN_RECOMMENDS CppEditor
|
2019-05-12 22:20:56 +02:00
|
|
|
INCLUDES ${CLANG_INCLUDE_DIRS}
|
|
|
|
|
SOURCES
|
|
|
|
|
clangfileinfo.h
|
|
|
|
|
clangfixitsrefactoringchanges.cpp clangfixitsrefactoringchanges.h
|
|
|
|
|
clangselectablefilesdialog.cpp clangselectablefilesdialog.h clangselectablefilesdialog.ui
|
|
|
|
|
clangtidyclazyrunner.cpp clangtidyclazyrunner.h
|
|
|
|
|
clangtool.cpp clangtool.h
|
|
|
|
|
clangtoolruncontrol.cpp clangtoolruncontrol.h
|
|
|
|
|
clangtoolrunner.cpp clangtoolrunner.h
|
|
|
|
|
clangtools_global.h
|
|
|
|
|
clangtoolsconstants.h
|
|
|
|
|
clangtoolsdiagnostic.cpp clangtoolsdiagnostic.h
|
|
|
|
|
clangtoolsdiagnosticmodel.cpp clangtoolsdiagnosticmodel.h
|
|
|
|
|
clangtoolsdiagnosticview.cpp clangtoolsdiagnosticview.h
|
|
|
|
|
clangtoolslogfilereader.cpp clangtoolslogfilereader.h
|
|
|
|
|
clangtoolsplugin.cpp clangtoolsplugin.h
|
|
|
|
|
clangtoolsprojectsettings.cpp clangtoolsprojectsettings.h
|
|
|
|
|
clangtoolsprojectsettingswidget.cpp clangtoolsprojectsettingswidget.h clangtoolsprojectsettingswidget.ui
|
|
|
|
|
clangtoolssettings.cpp clangtoolssettings.h
|
|
|
|
|
clangtoolsutils.cpp clangtoolsutils.h
|
2019-10-21 14:59:57 +02:00
|
|
|
clazychecks.ui
|
|
|
|
|
diagnosticconfigswidget.cpp diagnosticconfigswidget.h
|
2020-07-21 13:11:01 +02:00
|
|
|
diagnosticmark.cpp diagnosticmark.h
|
2020-07-22 14:52:06 +02:00
|
|
|
documentclangtoolrunner.cpp documentclangtoolrunner.h
|
2019-10-21 14:59:57 +02:00
|
|
|
executableinfo.cpp executableinfo.h
|
2019-11-04 14:44:36 +01:00
|
|
|
filterdialog.cpp filterdialog.h filterdialog.ui
|
2019-09-13 10:49:14 +02:00
|
|
|
runsettingswidget.cpp runsettingswidget.h runsettingswidget.ui
|
2019-08-27 16:09:39 +02:00
|
|
|
settingswidget.cpp settingswidget.h settingswidget.ui
|
2019-10-21 14:59:57 +02:00
|
|
|
tidychecks.ui
|
2020-07-22 14:52:06 +02:00
|
|
|
virtualfilesystemoverlay.cpp virtualfilesystemoverlay.h
|
2019-05-12 22:20:56 +02:00
|
|
|
)
|
|
|
|
|
|
2019-05-21 12:22:35 +02:00
|
|
|
extend_qtc_plugin(ClangTools
|
|
|
|
|
CONDITION WITH_TESTS
|
|
|
|
|
SOURCES
|
2019-05-12 22:20:56 +02:00
|
|
|
clangtoolspreconfiguredsessiontests.cpp clangtoolspreconfiguredsessiontests.h
|
|
|
|
|
clangtoolsunittests.cpp clangtoolsunittests.h
|
|
|
|
|
clangtoolsunittests.qrc
|
2019-05-21 12:22:35 +02:00
|
|
|
)
|