forked from qt-creator/qt-creator
216 lines
7.4 KiB
Prolog
216 lines
7.4 KiB
Prolog
# USE .subdir AND .depends !
|
|
# OTHERWISE PLUGINS WILL BUILD IN WRONG ORDER (DIRECTORIES ARE COMPILED IN PARALLEL)
|
|
|
|
TEMPLATE = subdirs
|
|
|
|
SUBDIRS = plugin_coreplugin \
|
|
plugin_welcome \
|
|
plugin_find \
|
|
plugin_texteditor \
|
|
plugin_cppeditor \
|
|
plugin_bineditor \
|
|
plugin_bookmarks \
|
|
plugin_projectexplorer \
|
|
plugin_vcsbase \
|
|
plugin_perforce \
|
|
plugin_subversion \
|
|
plugin_git \
|
|
plugin_cvs \
|
|
plugin_cpptools \
|
|
plugin_qt4projectmanager \
|
|
# plugin_snippets \ # buggy and annoying
|
|
plugin_locator \
|
|
plugin_debugger \
|
|
# plugin_qtestlib \ # this seems to be dead
|
|
# plugin_helloworld \ # sample plugin
|
|
plugin_help \
|
|
# plugin_regexp \ # don't know what to do with this
|
|
plugin_cpaster \
|
|
plugin_cmakeprojectmanager \
|
|
plugin_fakevim \
|
|
plugin_designer \
|
|
plugin_resourceeditor \
|
|
plugin_genericprojectmanager \
|
|
plugin_qmljseditor \
|
|
plugin_mercurial \
|
|
plugin_genericeditor \
|
|
debugger/dumper.pro
|
|
|
|
contains(QT_CONFIG, declarative) {
|
|
|
|
SUBDIRS += plugin_qmlprojectmanager
|
|
|
|
include(private_headers.pri)
|
|
exists($${QT_PRIVATE_HEADERS}/QtDeclarative/private/qdeclarativecontext_p.h) {
|
|
SUBDIRS += plugin_qmldesigner \
|
|
plugin_qmlinspector
|
|
} else {
|
|
warning()
|
|
warning("QmlDesigner and QmlInspector plugins have been disabled")
|
|
warning("The plugins depend on on private headers from QtDeclarative module.")
|
|
warning("To enable them, pass 'QT_PRIVATE_HEADERS=$QTDIR/include' to qmake, where $QTDIR is the source directory of qt.")
|
|
warning()
|
|
}
|
|
}
|
|
|
|
plugin_coreplugin.subdir = coreplugin
|
|
|
|
plugin_welcome.subdir = welcome
|
|
plugin_welcome.depends = plugin_coreplugin
|
|
|
|
plugin_find.subdir = find
|
|
plugin_find.depends += plugin_coreplugin
|
|
|
|
plugin_texteditor.subdir = texteditor
|
|
plugin_texteditor.depends = plugin_find
|
|
plugin_texteditor.depends += plugin_locator
|
|
plugin_texteditor.depends += plugin_coreplugin
|
|
|
|
plugin_cppeditor.subdir = cppeditor
|
|
plugin_cppeditor.depends = plugin_texteditor
|
|
plugin_cppeditor.depends += plugin_coreplugin
|
|
plugin_cppeditor.depends += plugin_cpptools
|
|
|
|
plugin_bineditor.subdir = bineditor
|
|
plugin_bineditor.depends = plugin_texteditor
|
|
plugin_bineditor.depends += plugin_coreplugin
|
|
|
|
plugin_designer.subdir = designer
|
|
plugin_designer.depends = plugin_coreplugin plugin_cppeditor plugin_projectexplorer
|
|
|
|
plugin_vcsbase.subdir = vcsbase
|
|
plugin_vcsbase.depends = plugin_find
|
|
plugin_vcsbase.depends += plugin_texteditor
|
|
plugin_vcsbase.depends += plugin_coreplugin
|
|
plugin_vcsbase.depends += plugin_projectexplorer
|
|
|
|
plugin_perforce.subdir = perforce
|
|
plugin_perforce.depends = plugin_vcsbase
|
|
plugin_perforce.depends += plugin_projectexplorer
|
|
plugin_perforce.depends += plugin_coreplugin
|
|
|
|
plugin_git.subdir = git
|
|
plugin_git.depends = plugin_vcsbase
|
|
plugin_git.depends += plugin_projectexplorer
|
|
plugin_git.depends += plugin_coreplugin
|
|
|
|
plugin_cvs.subdir = cvs
|
|
plugin_cvs.depends = plugin_vcsbase
|
|
plugin_cvs.depends += plugin_projectexplorer
|
|
plugin_cvs.depends += plugin_coreplugin
|
|
|
|
plugin_subversion.subdir = subversion
|
|
plugin_subversion.depends = plugin_vcsbase
|
|
plugin_subversion.depends += plugin_projectexplorer
|
|
plugin_subversion.depends += plugin_coreplugin
|
|
|
|
plugin_projectexplorer.subdir = projectexplorer
|
|
plugin_projectexplorer.depends = plugin_locator
|
|
plugin_projectexplorer.depends += plugin_find
|
|
plugin_projectexplorer.depends += plugin_coreplugin
|
|
plugin_projectexplorer.depends += plugin_texteditor
|
|
|
|
plugin_qt4projectmanager.subdir = qt4projectmanager
|
|
plugin_qt4projectmanager.depends = plugin_texteditor
|
|
plugin_qt4projectmanager.depends += plugin_projectexplorer
|
|
plugin_qt4projectmanager.depends += plugin_cpptools
|
|
plugin_qt4projectmanager.depends += plugin_cppeditor
|
|
plugin_qt4projectmanager.depends += plugin_help
|
|
plugin_qt4projectmanager.depends += plugin_designer
|
|
plugin_qt4projectmanager.depends += plugin_debugger
|
|
|
|
plugin_locator.subdir = locator
|
|
plugin_locator.depends = plugin_coreplugin
|
|
|
|
plugin_cpptools.subdir = cpptools
|
|
plugin_cpptools.depends = plugin_projectexplorer
|
|
plugin_cpptools.depends += plugin_coreplugin
|
|
plugin_cpptools.depends += plugin_texteditor
|
|
|
|
plugin_bookmarks.subdir = bookmarks
|
|
plugin_bookmarks.depends = plugin_projectexplorer
|
|
plugin_bookmarks.depends += plugin_coreplugin
|
|
plugin_bookmarks.depends += plugin_texteditor
|
|
|
|
plugin_snippets.subdir = snippets
|
|
plugin_snippets.depends = plugin_projectexplorer
|
|
plugin_snippets.depends += plugin_coreplugin
|
|
plugin_snippets.depends += plugin_texteditor
|
|
|
|
plugin_debugger.subdir = debugger
|
|
plugin_debugger.depends = plugin_projectexplorer
|
|
plugin_debugger.depends += plugin_coreplugin
|
|
plugin_debugger.depends += plugin_cppeditor
|
|
|
|
plugin_fakevim.subdir = fakevim
|
|
plugin_fakevim.depends = plugin_projectexplorer
|
|
plugin_fakevim.depends += plugin_coreplugin
|
|
plugin_fakevim.depends += plugin_cppeditor
|
|
|
|
plugin_qtestlib.subdir = qtestlib
|
|
plugin_qtestlib.depends = plugin_projectexplorer
|
|
plugin_qtestlib.depends += plugin_coreplugin
|
|
|
|
plugin_helloworld.subdir = helloworld
|
|
plugin_helloworld.depends = plugin_coreplugin
|
|
|
|
plugin_help.subdir = help
|
|
plugin_help.depends = plugin_find
|
|
plugin_help.depends += plugin_locator
|
|
plugin_help.depends += plugin_coreplugin
|
|
|
|
plugin_resourceeditor.subdir = resourceeditor
|
|
plugin_resourceeditor.depends = plugin_coreplugin
|
|
|
|
plugin_regexp.subdir = regexp
|
|
plugin_regexp.depends = plugin_coreplugin
|
|
|
|
plugin_cpaster.subdir = cpaster
|
|
plugin_cpaster.depends = plugin_texteditor
|
|
plugin_cpaster.depends += plugin_coreplugin
|
|
plugin_cpaster.depends += plugin_projectexplorer
|
|
|
|
plugin_cmakeprojectmanager.subdir = cmakeprojectmanager
|
|
plugin_cmakeprojectmanager.depends = plugin_texteditor
|
|
plugin_cmakeprojectmanager.depends += plugin_projectexplorer
|
|
plugin_cmakeprojectmanager.depends += plugin_cpptools
|
|
plugin_cmakeprojectmanager.depends += plugin_cppeditor
|
|
|
|
plugin_genericprojectmanager.subdir = genericprojectmanager
|
|
plugin_genericprojectmanager.depends = plugin_texteditor
|
|
plugin_genericprojectmanager.depends += plugin_projectexplorer
|
|
plugin_genericprojectmanager.depends += plugin_cpptools
|
|
plugin_genericprojectmanager.depends += plugin_cppeditor
|
|
|
|
plugin_qmljseditor.subdir = qmljseditor
|
|
plugin_qmljseditor.depends = plugin_texteditor
|
|
plugin_qmljseditor.depends += plugin_coreplugin
|
|
plugin_qmljseditor.depends += plugin_projectexplorer
|
|
|
|
plugin_qmlprojectmanager.subdir = qmlprojectmanager
|
|
plugin_qmlprojectmanager.depends = plugin_texteditor
|
|
plugin_qmlprojectmanager.depends += plugin_projectexplorer
|
|
plugin_qmlprojectmanager.depends += plugin_qmljseditor
|
|
plugin_qmlprojectmanager.depends += plugin_debugger
|
|
|
|
plugin_qmldesigner.subdir = qmldesigner
|
|
plugin_qmldesigner.depends = plugin_coreplugin
|
|
plugin_qmldesigner.depends += plugin_texteditor
|
|
plugin_qmldesigner.depends += plugin_qmljseditor
|
|
|
|
plugin_qmlinspector.subdir = qmlinspector
|
|
plugin_qmlinspector.depends += plugin_projectexplorer
|
|
plugin_qmlinspector.depends += plugin_cppeditor
|
|
plugin_qmlinspector.depends += plugin_qmlprojectmanager
|
|
plugin_qmlinspector.depends += plugin_debugger
|
|
plugin_qmlinspector.depends += plugin_cpptools
|
|
|
|
plugin_mercurial.subdir = mercurial
|
|
plugin_mercurial.depends = plugin_vcsbase
|
|
plugin_mercurial.depends += plugin_projectexplorer
|
|
plugin_mercurial.depends += plugin_coreplugin
|
|
|
|
plugin_genericeditor.subdir = genericeditor
|
|
plugin_genericeditor.depends = plugin_coreplugin
|
|
plugin_genericeditor.depends += plugin_texteditor
|