plugins.pro 7.26 KB
Newer Older
con's avatar
con committed
1 2 3 4 5 6
# USE .subdir AND .depends !
# OTHERWISE PLUGINS WILL BUILD IN WRONG ORDER (DIRECTORIES ARE COMPILED IN PARALLEL)

TEMPLATE  = subdirs

SUBDIRS   = plugin_coreplugin \
7
            plugin_welcome \
con's avatar
con committed
8 9 10 11 12 13 14 15 16 17
            plugin_find \
            plugin_texteditor \
            plugin_cppeditor \
            plugin_bineditor \
            plugin_bookmarks \
            plugin_projectexplorer \
            plugin_vcsbase \
            plugin_perforce \
            plugin_subversion \
            plugin_git \
18
            plugin_cvs \
con's avatar
con committed
19 20 21
            plugin_cpptools \
            plugin_qt4projectmanager \
#            plugin_snippets \ # buggy and annoying
con's avatar
con committed
22
            plugin_locator \
con's avatar
con committed
23 24 25 26 27 28
            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 \
hjk's avatar
hjk committed
29
            plugin_cmakeprojectmanager \
30 31
            plugin_fakevim \
            plugin_designer \
Roberto Raggi's avatar
Roberto Raggi committed
32
            plugin_resourceeditor \
33
            plugin_genericprojectmanager \
34
            plugin_qmljseditor \
dt's avatar
dt committed
35
            plugin_mercurial \
36
            debugger/dumper.pro
con's avatar
con committed
37

Bea Lam's avatar
Bea Lam committed
38
contains(QT_CONFIG, declarative) {
39

40
    SUBDIRS += plugin_qmlprojectmanager
41

42 43
    include(private_headers.pri)
    exists($${QT_PRIVATE_HEADERS}/QtDeclarative/private/qdeclarativecontext_p.h) {
44 45
        SUBDIRS += plugin_qmldesigner \
                   plugin_qmlinspector
46
    } else {
47 48 49 50 51
        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()
52
    }
Bea Lam's avatar
Bea Lam committed
53 54
}

con's avatar
con committed
55 56
plugin_coreplugin.subdir = coreplugin

57 58 59
plugin_welcome.subdir = welcome
plugin_welcome.depends = plugin_coreplugin

con's avatar
con committed
60 61 62 63 64
plugin_find.subdir = find
plugin_find.depends += plugin_coreplugin

plugin_texteditor.subdir = texteditor
plugin_texteditor.depends = plugin_find
con's avatar
con committed
65
plugin_texteditor.depends += plugin_locator
con's avatar
con committed
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
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

96 97 98 99 100
plugin_cvs.subdir = cvs
plugin_cvs.depends = plugin_vcsbase
plugin_cvs.depends += plugin_projectexplorer
plugin_cvs.depends += plugin_coreplugin

con's avatar
con committed
101 102 103 104 105 106
plugin_subversion.subdir = subversion
plugin_subversion.depends = plugin_vcsbase
plugin_subversion.depends += plugin_projectexplorer
plugin_subversion.depends += plugin_coreplugin

plugin_projectexplorer.subdir = projectexplorer
con's avatar
con committed
107
plugin_projectexplorer.depends = plugin_locator
con's avatar
con committed
108 109 110 111 112 113 114 115 116 117
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
con's avatar
con committed
118
plugin_qt4projectmanager.depends += plugin_designer
119
plugin_qt4projectmanager.depends += plugin_debugger
con's avatar
con committed
120

con's avatar
con committed
121 122
plugin_locator.subdir = locator
plugin_locator.depends = plugin_coreplugin
con's avatar
con committed
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143

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

hjk's avatar
hjk committed
144 145 146 147 148
plugin_fakevim.subdir = fakevim
plugin_fakevim.depends = plugin_projectexplorer
plugin_fakevim.depends += plugin_coreplugin
plugin_fakevim.depends += plugin_cppeditor

con's avatar
con committed
149 150 151 152 153
plugin_qtestlib.subdir = qtestlib
plugin_qtestlib.depends = plugin_projectexplorer
plugin_qtestlib.depends += plugin_coreplugin

plugin_helloworld.subdir = helloworld
con's avatar
con committed
154
plugin_helloworld.depends = plugin_coreplugin
con's avatar
con committed
155 156 157

plugin_help.subdir = help
plugin_help.depends = plugin_find
con's avatar
con committed
158
plugin_help.depends += plugin_locator
con's avatar
con committed
159 160 161 162 163 164 165 166 167
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
con's avatar
con committed
168
plugin_cpaster.depends = plugin_texteditor
con's avatar
con committed
169 170 171 172 173 174 175 176
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
Roberto Raggi's avatar
Roberto Raggi committed
177 178 179 180 181 182

plugin_genericprojectmanager.subdir = genericprojectmanager
plugin_genericprojectmanager.depends = plugin_texteditor
plugin_genericprojectmanager.depends += plugin_projectexplorer
plugin_genericprojectmanager.depends += plugin_cpptools
plugin_genericprojectmanager.depends += plugin_cppeditor
183

184 185 186
plugin_qmljseditor.subdir = qmljseditor
plugin_qmljseditor.depends = plugin_texteditor
plugin_qmljseditor.depends += plugin_coreplugin
187 188 189 190

plugin_qmlprojectmanager.subdir = qmlprojectmanager
plugin_qmlprojectmanager.depends = plugin_texteditor
plugin_qmlprojectmanager.depends += plugin_projectexplorer
191
plugin_qmlprojectmanager.depends += plugin_qmljseditor
192
plugin_qmlprojectmanager.depends += plugin_debugger
193

194 195 196
plugin_qmldesigner.subdir = qmldesigner
plugin_qmldesigner.depends = plugin_coreplugin
plugin_qmldesigner.depends += plugin_texteditor
con's avatar
con committed
197
plugin_qmldesigner.depends += plugin_qmljseditor
198

Bea Lam's avatar
Bea Lam committed
199 200
plugin_qmlinspector.subdir = qmlinspector
plugin_qmlinspector.depends += plugin_projectexplorer
con's avatar
con committed
201
plugin_qmlinspector.depends += plugin_cppeditor
202
plugin_qmlinspector.depends += plugin_qmlprojectmanager
203
plugin_qmlinspector.depends += plugin_debugger
con's avatar
con committed
204
plugin_qmlinspector.depends += plugin_cpptools
Bea Lam's avatar
Bea Lam committed
205

206 207 208 209 210
plugin_mercurial.subdir = mercurial
plugin_mercurial.depends = plugin_texteditor
plugin_mercurial.depends = plugin_vcsbase
plugin_mercurial.depends += plugin_projectexplorer
plugin_mercurial.depends += plugin_coreplugin