1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
|
import qbs.FileInfo
QtcPlugin {
name: "CppEditor"
Depends { name: "Qt.widgets" }
Depends { condition: project.withPluginTests; name: "Qt.testlib" }
Depends { name: "CPlusPlus" }
Depends { name: "Utils" }
Depends { name: "Core" }
Depends { name: "TextEditor" }
Depends { name: "ProjectExplorer" }
pluginTestDepends: [
"QmakeProjectManager",
"QbsProjectManager",
]
cpp.defines: base
Properties {
condition: qbs.toolchain.contains("msvc")
cpp.defines: base.concat("_SCL_SECURE_NO_WARNINGS")
}
files: [
"abstracteditorsupport.cpp",
"abstracteditorsupport.h",
"baseeditordocumentparser.cpp",
"baseeditordocumentparser.h",
"baseeditordocumentprocessor.cpp",
"baseeditordocumentprocessor.h",
"builtincursorinfo.cpp",
"builtincursorinfo.h",
"builtineditordocumentparser.cpp",
"builtineditordocumentparser.h",
"builtineditordocumentprocessor.cpp",
"builtineditordocumentprocessor.h",
"clangdiagnosticconfig.cpp",
"clangdiagnosticconfig.h",
"clangdiagnosticconfigsmodel.cpp",
"clangdiagnosticconfigsmodel.h",
"clangdiagnosticconfigsselectionwidget.cpp",
"clangdiagnosticconfigsselectionwidget.h",
"clangdiagnosticconfigswidget.cpp",
"clangdiagnosticconfigswidget.h",
"clangdsettings.cpp",
"clangdsettings.h",
"compileroptionsbuilder.cpp",
"compileroptionsbuilder.h",
"cppautocompleter.cpp",
"cppautocompleter.h",
"cppbuiltinmodelmanagersupport.cpp",
"cppbuiltinmodelmanagersupport.h",
"cppcanonicalsymbol.cpp",
"cppcanonicalsymbol.h",
"cppchecksymbols.cpp",
"cppchecksymbols.h",
"cppcodeformatter.cpp",
"cppcodeformatter.h",
"cppcodemodelinspectordialog.cpp",
"cppcodemodelinspectordialog.h",
"cppcodemodelinspectordumper.cpp",
"cppcodemodelinspectordumper.h",
"cppcodemodelsettings.cpp",
"cppcodemodelsettings.h",
"cppcodestylepreferences.cpp",
"cppcodestylepreferences.h",
"cppcodestylepreferencesfactory.cpp",
"cppcodestylepreferencesfactory.h",
"cppcodestylesettings.cpp",
"cppcodestylesettings.h",
"cppcodestylesettingspage.cpp",
"cppcodestylesettingspage.h",
"cppcodestylesnippets.h",
"cppcompletionassist.cpp",
"cppcompletionassist.h",
"cppcompletionassistprocessor.cpp",
"cppcompletionassistprocessor.h",
"cppcompletionassistprovider.cpp",
"cppcompletionassistprovider.h",
"cppcursorinfo.h",
"cppdoxygen.cpp",
"cppdoxygen.h",
"cppdoxygen.kwgen",
"cppeditorwidget.cpp",
"cppeditorwidget.h",
"cppeditor.qrc",
"cppeditor_global.h",
"cppeditortr.h",
"cppeditorconstants.h",
"cppeditordocument.cpp",
"cppeditordocument.h",
"cppeditoroutline.cpp",
"cppeditoroutline.h",
"cppeditorplugin.cpp",
"cppelementevaluator.cpp",
"cppelementevaluator.h",
"cppfileiterationorder.cpp",
"cppfileiterationorder.h",
"cppfilesettingspage.cpp",
"cppfilesettingspage.h",
"cppfindreferences.cpp",
"cppfindreferences.h",
"cppfollowsymbolundercursor.cpp",
"cppfollowsymbolundercursor.h",
"cppfunctiondecldeflink.cpp",
"cppfunctiondecldeflink.h",
"cppfunctionparamrenaminghandler.cpp",
"cppfunctionparamrenaminghandler.h",
"cppheadersource.cpp",
"cppheadersource.h",
"cpphighlighter.cpp",
"cpphighlighter.h",
"cppincludehierarchy.cpp",
"cppincludehierarchy.h",
"cppincludesfilter.cpp",
"cppincludesfilter.h",
"cppindexingsupport.cpp",
"cppindexingsupport.h",
"cppinsertvirtualmethods.cpp",
"cppinsertvirtualmethods.h",
"cpplocalrenaming.cpp",
"cpplocalrenaming.h",
"cpplocalsymbols.cpp",
"cpplocalsymbols.h",
"cpplocatordata.cpp",
"cpplocatordata.h",
"cpplocatorfilter.cpp",
"cpplocatorfilter.h",
"cppmodelmanager.cpp",
"cppmodelmanager.h",
"cppmodelmanagersupport.cpp",
"cppmodelmanagersupport.h",
"cppoutline.cpp",
"cppoutline.h",
"cppoutlinemodel.cpp",
"cppoutlinemodel.h",
"cppparsecontext.cpp",
"cppparsecontext.h",
"cpppointerdeclarationformatter.cpp",
"cpppointerdeclarationformatter.h",
"cppprojectpartchooser.cpp",
"cppprojectpartchooser.h",
"cpppreprocessordialog.cpp",
"cpppreprocessordialog.h",
"cppprojectfile.cpp",
"cppprojectfile.h",
"cppprojectfilecategorizer.cpp",
"cppprojectfilecategorizer.h",
"cppprojectinfogenerator.cpp",
"cppprojectinfogenerator.h",
"cppprojectupdater.cpp",
"cppprojectupdater.h",
"cppquickfix.cpp",
"cppquickfix.h",
"cppquickfixassistant.cpp",
"cppquickfixassistant.h",
"cppquickfixes.cpp",
"cppquickfixes.h",
"cppquickfixprojectsettings.cpp",
"cppquickfixprojectsettings.h",
"cppquickfixprojectsettingswidget.cpp",
"cppquickfixprojectsettingswidget.h",
"cppquickfixsettings.cpp",
"cppquickfixsettings.h",
"cppquickfixsettingspage.cpp",
"cppquickfixsettingspage.h",
"cppquickfixsettingswidget.cpp",
"cppquickfixsettingswidget.h",
"cppqtstyleindenter.cpp",
"cppqtstyleindenter.h",
"cpprefactoringchanges.cpp",
"cpprefactoringchanges.h",
"cppselectionchanger.cpp",
"cppselectionchanger.h",
"cppsemanticinfo.h",
"cppsemanticinfoupdater.cpp",
"cppsemanticinfoupdater.h",
"cppsourceprocessor.cpp",
"cppsourceprocessor.h",
"cpptoolsjsextension.cpp",
"cpptoolsjsextension.h",
"cpptoolsreuse.cpp",
"cpptoolsreuse.h",
"cpptoolssettings.cpp",
"cpptoolssettings.h",
"cpptypehierarchy.cpp",
"cpptypehierarchy.h",
"cppuseselectionsupdater.cpp",
"cppuseselectionsupdater.h",
"cppvirtualfunctionassistprovider.cpp",
"cppvirtualfunctionassistprovider.h",
"cppvirtualfunctionproposalitem.cpp",
"cppvirtualfunctionproposalitem.h",
"cppworkingcopy.cpp",
"cppworkingcopy.h",
"cursorineditor.h",
"doxygengenerator.cpp",
"doxygengenerator.h",
"editordocumenthandle.cpp",
"editordocumenthandle.h",
"functionutils.cpp",
"functionutils.h",
"generatedcodemodelsupport.cpp",
"generatedcodemodelsupport.h",
"headerpathfilter.cpp",
"headerpathfilter.h",
"includeutils.cpp",
"includeutils.h",
"indexitem.cpp",
"indexitem.h",
"insertionpointlocator.cpp",
"insertionpointlocator.h",
"projectinfo.cpp",
"projectinfo.h",
"projectpart.cpp",
"projectpart.h",
"resourcepreviewhoverhandler.cpp",
"resourcepreviewhoverhandler.h",
"searchsymbols.cpp",
"searchsymbols.h",
"semantichighlighter.cpp",
"semantichighlighter.h",
"symbolfinder.cpp",
"symbolfinder.h",
"symbolsfindfilter.cpp",
"symbolsfindfilter.h",
"typehierarchybuilder.cpp",
"typehierarchybuilder.h",
"wrappablelineedit.cpp",
"wrappablelineedit.h",
]
Group {
name: "TestCase"
condition: qtc.withPluginTests || qtc.withAutotests
files: [
"cpptoolstestcase.cpp",
"cpptoolstestcase.h",
]
}
QtcTestFiles {
cpp.defines: outer.concat(['SRCDIR="' + FileInfo.path(filePath) + '"'])
files: [
"compileroptionsbuilder_test.cpp",
"compileroptionsbuilder_test.h",
"cppcodegen_test.cpp",
"cppcodegen_test.h",
"cppcompletion_test.cpp",
"cppcompletion_test.h",
"cppdoxygen_test.cpp",
"cppdoxygen_test.h",
"cppincludehierarchy_test.cpp",
"cppincludehierarchy_test.h",
"cpplocalsymbols_test.cpp",
"cpplocalsymbols_test.h",
"cpplocatorfilter_test.cpp",
"cpplocatorfilter_test.h",
"cppmodelmanager_test.cpp",
"cppmodelmanager_test.h",
"cpppointerdeclarationformatter_test.cpp",
"cpppointerdeclarationformatter_test.h",
"cppquickfix_test.cpp",
"cppquickfix_test.h",
"cpprenaming_test.cpp",
"cpprenaming_test.h",
"cppsourceprocessor_test.cpp",
"cppsourceprocessor_test.h",
"cppsourceprocessertesthelper.cpp",
"cppsourceprocessertesthelper.h",
"cppuseselections_test.cpp",
"cppuseselections_test.h",
"fileandtokenactions_test.cpp",
"fileandtokenactions_test.h",
"followsymbol_switchmethoddecldef_test.cpp",
"followsymbol_switchmethoddecldef_test.h",
"modelmanagertesthelper.cpp",
"modelmanagertesthelper.h",
"projectinfo_test.cpp",
"projectinfo_test.h",
"symbolsearcher_test.cpp",
"symbolsearcher_test.h",
"typehierarchybuilder_test.cpp",
"typehierarchybuilder_test.h",
]
}
Export {
Depends { name: "CPlusPlus" }
Depends { name: "Qt.concurrent" }
}
}
|