Files
qt-creator/src/plugins/vcsbase/CMakeLists.txt
Eike Ziller 857b299356 VcsBase: Make dependency on CppTools optional
The VcsBaseSubmitEditor uses CppModelManager to collect the symbol names
from the affected files for completion in the commit message.

Move the C++ code model code into CppModelManager, register it in the
plugin manager, and call it via QObject means from the submit editor.

This avoids a hard dependency from VcsBase to CppTools.

Change-Id: I2fb34dbef153c1414820d711e7fc5596bcac1691
Reviewed-by: hjk <hjk@qt.io>
2019-08-15 06:27:29 +00:00

40 lines
1.6 KiB
CMake

add_qtc_plugin(VcsBase
PLUGIN_DEPENDS Core DiffEditor ProjectExplorer TextEditor
PLUGIN_RECOMMENDS CodePaster CppTools
SOURCES
baseannotationhighlighter.cpp baseannotationhighlighter.h
basevcseditorfactory.cpp basevcseditorfactory.h
basevcssubmiteditorfactory.cpp basevcssubmiteditorfactory.h
cleandialog.cpp cleandialog.h cleandialog.ui
commonsettingspage.cpp commonsettingspage.h commonsettingspage.ui
commonvcssettings.cpp commonvcssettings.h
diffandloghighlighter.cpp diffandloghighlighter.h
nicknamedialog.cpp nicknamedialog.h nicknamedialog.ui
submiteditorfile.cpp submiteditorfile.h
submiteditorwidget.cpp submiteditorwidget.h submiteditorwidget.ui
submitfieldwidget.cpp submitfieldwidget.h
submitfilemodel.cpp submitfilemodel.h
vcsbase.qrc
vcsbase_global.h
vcsbaseclient.cpp vcsbaseclient.h
vcsbaseclientsettings.cpp vcsbaseclientsettings.h
vcsbaseconstants.h
vcsbasediffeditorcontroller.cpp vcsbasediffeditorcontroller.h
vcsbaseeditor.cpp vcsbaseeditor.h
vcsbaseeditorconfig.cpp vcsbaseeditorconfig.h
vcsbaseoptionspage.cpp vcsbaseoptionspage.h
vcsbaseplugin.cpp vcsbaseplugin.h
vcsbasesubmiteditor.cpp vcsbasesubmiteditor.h
vcscommand.cpp vcscommand.h
vcsoutputwindow.cpp vcsoutputwindow.h
vcsplugin.cpp vcsplugin.h
wizard/vcscommandpage.cpp wizard/vcscommandpage.h
wizard/vcsconfigurationpage.cpp wizard/vcsconfigurationpage.h
wizard/vcsjsextension.cpp wizard/vcsjsextension.h
)
extend_qtc_plugin(VcsBase
CONDITION WITH_TESTS
DEFINES SRC_DIR="${IDE_SOURCE_TREE}"
)