Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: d06a3d862241a854e558edc384d420105200d792 (plain) (blame)
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
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin
   id="org.eclipse.cdt.managedbuilder.core.tests"
   name="Tests"
   version="2.1.0"
   provider-name="Eclipse.org">

   <requires>
      <import plugin="org.eclipse.core.runtime"/>
      <import plugin="org.junit"/>
      <import plugin="org.eclipse.cdt.managedbuilder.core"/>
      <import plugin="org.eclipse.cdt.core"/>
      <import plugin="org.eclipse.cdt.make.core"/>
      <import plugin="org.eclipse.core.resources"/>
   </requires>


   <extension
         id="buildTest"
         name="Tools for Build Test"
         point="org.eclipse.cdt.managedbuilder.core.ManagedBuildInfo">
      <tool
            natureFilter="both"
            name="Target Independent Tool"
            sources="rc"
            headerExtensions="h"
            outputFlag="/fo"
            command="RC.EXE"
            outputs="free"
            id="target.independent.tool">
         <optionCategory
               owner="target.independent.tool"
               name="Free"
               id="indy.cat.free">
         </optionCategory>
         <option
               defaultValue="Live free or die"
               name="String in Free"
               category="indy.cat.free"
               valueType="string"
               id="indy.cat.free.string">
         </option>
         <optionCategory
               owner="indy.cat.free"
               name="Chained"
               id="indy.cat.chained">
         </optionCategory>
         <option
               defaultValue="false"
               name="Boolean in Chained"
               category="indy.cat.chained"
               valueType="boolean"
               id="indy.cat.chained.boolean">
         </option>
      </tool>
      <target
            name="Test Root"
            id="test.root"
            cleanCommand="del /myworld"
            isTest="true"
            defaultExtension="toor"
            isAbstract="false"
            makeCommand="make"
            binaryParser="org.eclipse.cdt.core.PE"
            makeArguments="-k"
            osList="win32">
         <tool
               natureFilter="cnature"
               sources="foo,bar"
               name="Root Tool"
               headerExtensions="baz"
               outputFlag="-r"
               outputs="toor"
               command="doIt"
               id="root.tool">
            <optionCategory
                  owner="root.tool"
                  name="Category"
                  id="category">
            </optionCategory>
            <option
                  name="List Option in Top"
                  command="-L"
                  valueType="stringList"
                  id="list.option">
               <listOptionValue
                     value="a">
               </listOptionValue>
               <listOptionValue
                     value="b"
                     builtIn="false">
               </listOptionValue>
               <listOptionValue
                     value="c"
                     builtIn="true">
               </listOptionValue>
            </option>
            <option
                  defaultValue="false"
                  name="Boolean Option in Top"
                  command="-b"
                  valueType="boolean"
                  id="boolean.option">
            </option>
            <option
                  defaultValue="x"
                  name="String Option in Category"
                  category="category"
                  valueType="string"
                  id="string.option">
            </option>
            <option
                  defaultValue=""
                  name="Another String Option in Category"
                  category="category"
                  command="-str"
                  id="another.string.option"
                  valueType="string">
            </option>
            <option
                  name="Enumerated Option in Category"
                  category="category"
                  valueType="enumerated"
                  id="enumerated.option">
               <enumeratedOptionValue
                     name="Default Enum"
                     isDefault="true"
                     command="-e1"
                     id="default.enum.option">
               </enumeratedOptionValue>
               <enumeratedOptionValue
                     name="Another Enum"
                     command="-e2"
                     id="another.enum.option">
               </enumeratedOptionValue>
            </option>
            <option
                  commandFalse="-nob"
                  name="Boolean Option in Category"
                  category="category"
                  id="boolean.false.option"
                  valueType="boolean">
            </option>
         </tool>
         <configuration
               name="Root Config"
               id="root.config">
         </configuration>
         <configuration
               name="Root Override Config"
               id="root.override.config">
            <toolReference
                  id="root.tool">
               <optionReference
                     defaultValue="y"
                     id="string.option">
               </optionReference>
               <optionReference
                     defaultValue="true"
                     id="boolean.option">
               </optionReference>
            </toolReference>
         </configuration>
         <configuration
               name="Complete Override Config"
               id="complete.override.config">
            <toolReference
                  id="root.tool">
               <optionReference
                     defaultValue="overridden"
                     id="string.option">
               </optionReference>
               <optionReference
                     defaultValue="alsooverridden"
                     id="another.string.option">
               </optionReference>
               <optionReference
                     defaultValue="true"
                     id="boolean.option">
               </optionReference>
               <optionReference
                     defaultValue="true"
                     id="boolean.false.option">
               </optionReference>
               <optionReference
                     defaultValue="another.enum.option"
                     id="enumerated.option">
               </optionReference>
               <optionReference
                     id="list.option">
                  <listOptionValue
                        value="d">
                  </listOptionValue>
                  <listOptionValue
                        value="e">
                  </listOptionValue>
                  <listOptionValue
                        value="f">
                  </listOptionValue>
               </optionReference>
            </toolReference>
         </configuration>
      </target>
      <target
            name="Test Sub"
            id="test.sub"
            cleanCommand="rm -yourworld"
            isTest="true"
            defaultExtension="bus"
            isAbstract="false"
            binaryParser="org.eclipse.cdt.core.PE"
            archList="x86,ppc"
            parent="test.root"
            makeArguments="-d"
            osList="win32,linux,solaris">
         <configuration
               name="Sub Config"
               id="sub.config">
         </configuration>
         <tool
               natureFilter="both"
               sources="yarf"
               name="Sub Tool"
               headerExtensions="arf,barf"
               outputs="bus"
               outputPrefix="lib"
               id="tool.sub">
            <option
                  name="Include Paths"
                  command="-I"
                  browseType="directory"
                  valueType="includePath"
                  id="sub.tool.opt.inc.paths">
               <listOptionValue
                     value="/usr/include">
               </listOptionValue>
               <listOptionValue
                     value="/opt/gnome/include">
               </listOptionValue>
               <listOptionValue
                     value="/usr/gnu/include"
                     builtIn="true">
               </listOptionValue>
            </option>
            <option
                  name="Defined Symbols"
                  command="-D"
                  valueType="definedSymbols"
                  id="sub.tool.opt.def.symbols">
               <listOptionValue
                     value="BUILTIN"
                     builtIn="true">
               </listOptionValue>
            </option>
            <option
                  name="More Includes"
                  command="-I"
                  browseType="directory"
                  valueType="includePath"
                  id="sub.tool.opts.inc.paths.more">
               <listOptionValue
                     value="C:\home\tester/include"
                     builtIn="false">
               </listOptionValue>
               <listOptionValue
                     value="&quot;../includes&quot;"
                     builtIn="false">
               </listOptionValue>
            </option>
            <option
                  name="User Objects"
                  browseType="file"
                  valueType="userObjs"
                  id="sub.tool.opt.objs">
               <listOptionValue
                     value="obj1.o"
                     builtIn="false">
               </listOptionValue>
               <listOptionValue
                     value="obj2.o"
                     builtIn="false">
               </listOptionValue>
            </option>
            <option
                  valueType="stringList"
                  name="No Command StringList"
                  id="sub.tool.string.list">
               <listOptionValue value="x"/>
               <listOptionValue value="y"/>
               <listOptionValue value="z"/>
            </option>
         </tool>
      </target>
      <target
            isTest="true"
            name="Test Sub Sub"
            parent="test.sub"
            binaryParser="org.eclipse.cdt.core.ELF"
            defaultExtension="tss"
            makeCommand="nmake"
            id="test.sub.sub">
         <toolReference
               id="target.independent.tool">
            <optionReference
                  defaultValue="true"
                  id="indy.cat.chained.boolean"/>
         </toolReference>
         <configuration
               name="Sub Sub Config"
               id="sub.sub.config"/>
      </target>
      <dynamicElementProvider
            name="Test Target Provider"
            class="org.eclipse.cdt.managedbuild.core.tests.TestManagedConfigProvider">
      </dynamicElementProvider>
      <target
            isTest="true"
            name="Forward Grandchild"
            parent="test.forward.child.target"
            binaryParser="org.eclipse.cdt.core.tests.target1"
            id="test.forward.grandchild.target">
         <toolReference
               command="newcommand"
               id="test.forward.tool">
         </toolReference>
      </target>
      <target
            isTest="true"
            osList="win32,solaris,linux"
            name="Forward Child"
            binaryParser="org.eclipse.cdt.core.tests.target2"
            parent="test.forward.parent.target"
            id="test.forward.child.target">
         <toolReference
               id="test.forward.tool">
            <optionReference
                  id="test.forward.option">
            </optionReference>
         </toolReference>
      </target>
      <target
            isTest="true"
            name="Forward Parent"
            binaryParser="org.eclipse.cdt.core.tests.target3"
            id="test.forward.parent.target">
         <tool
               natureFilter="both"
               name="Forward Parent Tool"
               id="test.forward.tool">
            <option
                  name="Test Forward Option"
                  category="test.forward.child.category"
                  id="test.forward.option">
            </option>
            <optionCategory
                  owner="test.forward.parent.category"
                  name="Forward Child Category"
                  id="test.forward.child.category">
            </optionCategory>
            <optionCategory
                  owner="test.forward.tool"
                  name="Forward Parent Category"
                  id="test.forward.parent.category">
            </optionCategory>
         </tool>
      </target>
      <target
            isTest="true"
            errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser"
            name="Test Error Parsers"
            binaryParser="org.eclipse.cdt.core.PE"
            isAbstract="false"
            id="test.error.parsers">
         <tool
               natureFilter="cnature"
               sources="x,y"
               name="EP Tool"
               outputFlag="-o"
               outputs="xy"
               command="EP"
               id="error.parsers.tool">
         </tool>
      </target>
   </extension>

</plugin>

Back to the top