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
|
import qbs.base 1.0
import qbs.FileInfo
import QtcPlugin
QtcPlugin {
name: "CppTools"
Depends { name: "Qt.widgets" }
Depends { name: "Core" }
Depends { name: "Find" }
Depends { name: "TextEditor" }
Depends { name: "ProjectExplorer" }
Depends { name: "Locator" }
Depends { name: "CPlusPlus" }
Depends { name: "LanguageUtils" }
cpp.defines: base
Properties {
condition: qbs.toolchain.contains("msvc")
cpp.defines: base.concat("_SCL_SECURE_NO_WARNINGS")
}
files: [
"abstracteditorsupport.cpp",
"abstracteditorsupport.h",
"commentssettings.cpp",
"commentssettings.h",
"completionsettingspage.cpp",
"completionsettingspage.h",
"completionsettingspage.ui",
"cppchecksymbols.cpp",
"cppchecksymbols.h",
"cppclassesfilter.cpp",
"cppclassesfilter.h",
"cppcodeformatter.cpp",
"cppcodeformatter.h",
"cppcodestylepreferences.cpp",
"cppcodestylepreferences.h",
"cppcodestylepreferencesfactory.cpp",
"cppcodestylepreferencesfactory.h",
"cppcodestylesettings.cpp",
"cppcodestylesettings.h",
"cppcodestylesettingspage.cpp",
"cppcodestylesettingspage.h",
"cppcodestylesettingspage.ui",
"cppcompletionassist.cpp",
"cppcompletionassist.h",
"cppcompletionassistprovider.cpp",
"cppcompletionassistprovider.h",
"cppcurrentdocumentfilter.cpp",
"cppcurrentdocumentfilter.h",
"cppdoxygen.cpp",
"cppdoxygen.h",
"cppfilesettingspage.cpp",
"cppfilesettingspage.h",
"cppfilesettingspage.ui",
"cppfindreferences.cpp",
"cppfindreferences.h",
"cppfunctionsfilter.cpp",
"cppfunctionsfilter.h",
"cpphighlightingsupport.cpp",
"cpphighlightingsupport.h",
"cpphighlightingsupportinternal.cpp",
"cpphighlightingsupportinternal.h",
"cppindexingsupport.cpp",
"cppindexingsupport.h",
"cpplocalsymbols.cpp",
"cpplocalsymbols.h",
"cpplocatordata.cpp",
"cpplocatordata.h",
"cpplocatorfilter.cpp",
"cpplocatorfilter.h",
"cppmodelmanager.cpp",
"cppmodelmanager.h",
"cppmodelmanagersupport.h",
"cppmodelmanagersupport.cpp",
"cppmodelmanagersupportinternal.h",
"cppmodelmanagersupportinternal.cpp",
"cppmodelmanagerinterface.cpp",
"cppmodelmanagerinterface.h",
"cppqtstyleindenter.cpp",
"cppqtstyleindenter.h",
"cpppointerdeclarationformatter.cpp",
"cpppointerdeclarationformatter.h",
"cppprojectfile.cpp",
"cppprojectfile.h",
"cpprefactoringchanges.cpp",
"cpprefactoringchanges.h",
"cppsemanticinfo.cpp",
"cppsemanticinfo.h",
"cpptools_global.h",
"cpptoolsconstants.h",
"cpptoolseditorsupport.cpp",
"cpptoolseditorsupport.h",
"cpptoolsplugin.cpp",
"cpptoolsplugin.h",
"cpptoolsreuse.cpp",
"cpptoolsreuse.h",
"cpptoolssettings.cpp",
"cpptoolssettings.h",
"doxygengenerator.cpp",
"doxygengenerator.h",
"insertionpointlocator.cpp",
"insertionpointlocator.h",
"searchsymbols.cpp",
"searchsymbols.h",
"symbolfinder.cpp",
"symbolfinder.h",
"symbolsfindfilter.cpp",
"symbolsfindfilter.h",
"typehierarchybuilder.cpp",
"typehierarchybuilder.h",
"builtinindexingsupport.cpp",
"builtinindexingsupport.h",
"cpppreprocessor.cpp",
"cpppreprocessor.h",
"includeutils.cpp",
"includeutils.h",
"cppcodemodelsettings.cpp",
"cppcodemodelsettings.h",
"cppcodemodelsettingspage.cpp",
"cppcodemodelsettingspage.h",
"cppcodemodelsettingspage.ui",
"cppsnapshotupdater.cpp",
"cppsnapshotupdater.h",
]
Group {
name: "Tests"
condition: project.testsEnabled
files: [
"cppcodegen_test.cpp",
"cppcompletion_test.cpp",
"cppheadersource_test.cpp",
"cppmodelmanager_test.cpp",
"modelmanagertesthelper.cpp", "modelmanagertesthelper.h",
"cpppointerdeclarationformatter_test.cpp",
"cpplocatorfilter_test.cpp",
"symbolsearcher_test.cpp",
"cpppreprocessor_test.cpp",
"cpppreprocessertesthelper.cpp", "cpppreprocessertesthelper.h",
"typehierarchybuilder_test.cpp"
]
cpp.defines: outer.concat(['SRCDIR="' + FileInfo.path(filePath) + '"'])
}
Export {
Depends { name: "CPlusPlus" }
Depends { name: "Qt.concurrent" }
}
}
|