Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: eb64199269316516723767324eaf5694bf0a0e3b (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
<?xml version="1.0" encoding="UTF-8"?>
<plugin
   id="org.eclipse.cdt.ui.tests"
   name="org.eclipse.cdt.ui.tests"
   version="1.2.0.5"
   class="org.eclipse.cdt.testplugin.CTestPlugin">

   <runtime>
      <library name="cdtuitests.jar">
         <export name="*"/>
      </library>
   </runtime>
   <requires>
      <import plugin="org.apache.xerces"/>
      <import plugin="org.eclipse.core.resources"/>
      <import plugin="org.eclipse.core.runtime"/>
      <import plugin="org.eclipse.cdt.core"/>
      <import plugin="org.eclipse.cdt.ui"/>
      <import plugin="org.eclipse.swt"/>
      <import plugin="org.eclipse.ui"/>
      <import plugin="org.junit"/>
   </requires>


   <extension
         id="buildTest"
         name="Tools for Build Test"
         point="org.eclipse.cdt.core.ManagedBuildInfo">
      <target
            isTest="true"
            name="Test Root"
            defaultExtension="toor"
            isAbstract="false"
            id="test.root">
         <tool
               sources="foo,bar"
               name="Root Tool"
               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">
               <optionValue
                     value="a">
               </optionValue>
               <optionValue
                     value="b">
               </optionValue>
            </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
                  name="Enumerated Option in Category"
                  category="category"
                  valueType="enumerated"
                  id="enumerated.option">
               <optionEnum
                     name="Default Enum"
                     isDefault="true"
                     command="-e1"
                     id="default.enum.option">
               </optionEnum>
               <optionEnum
                     name="Another Enum"
                     command="-e2"
                     id="another.enum.option">
               </optionEnum>
            </option>
         </tool>
         <configuration
               name="Root Config"
               id="root.config">
         </configuration>
         <configuration
               name="Root Override Config"
               id="root.override.config">
            <toolRef
                  id="root.tool">
               <optionRef
                     defaultValue="y"
                     id="string.option">
               </optionRef>
               <optionRef
                     defaultValue="true"
                     id="boolean.option">
               </optionRef>
            </toolRef>
         </configuration>
      </target>
      <target
            isTest="true"
            name="Test Sub"
            parent="test.root"
            defaultExtension="bus"
            isAbstract="false"
            id="test.sub">
         <configuration
               name="Sub Config"
               id="sub.config">
         </configuration>
         <tool
               name="Sub Tool"
               id="tool.sub">
         </tool>
      </target>
   </extension>

</plugin>

Back to the top