Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 2eded824313e5150cc5f62b5f1ca7d670ee76998 (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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>

     <extension-point id="MakeTargetBuilder" name="%extensionTargetBuilder.name" schema="schema/MakeTargetBuilder.exsd"/>
   <extension-point id="ScannerConfigurationDiscoveryProfile" name="%extensionScannerConfigurationDiscoveryProfile.name" schema="schema/ScannerConfigurationDiscoveryProfile.exsd"/>

   <extension
         id="MakeScannerProvider"
         point="org.eclipse.cdt.core.ScannerInfoProvider">
      <cextension>
         <run
               class="org.eclipse.cdt.make.core.MakeScannerProvider">
         </run>
      </cextension>
   </extension>
   <extension
         id="makeNature"
         name="%natureMake.name"
         point="org.eclipse.core.resources.natures">
      <requires-nature
            id="org.eclipse.cdt.core.cnature">
      </requires-nature>
      <runtime>
         <run
               class="org.eclipse.cdt.make.core.MakeProjectNature">
         </run>
      </runtime>
      <builder
            id="org.eclipse.cdt.make.core.makeBuilder">
      </builder>
   </extension>
   <extension
         id="makeBuilder"
         name="%builderMake.name"
         point="org.eclipse.core.resources.builders">
      <builder
            hasNature="true"
            isConfigurable="true">
         <run class="org.eclipse.cdt.make.core.MakeBuilder">
            <parameter
                  name="defaultCommand"
                  value="make">
            </parameter>
         </run>
      </builder>
   </extension>
   <extension
         id="make"
         name="%makeproject.name"
         point="org.eclipse.cdt.core.CProject">
      <cproject
            class="org.eclipse.cdt.make.internal.core.MakeProject"
            natureID="org.eclipse.cdt.make.core.makeNature">
      </cproject>
   </extension>
   <extension
         point="org.eclipse.cdt.make.core.MakeTargetBuilder">
      <builder
            builderID="org.eclipse.cdt.make.core.makeBuilder"
            id="org.eclipse.cdt.make.MakeTargetBuilder">
      </builder>
   </extension>
   <extension
         id="ScannerConfigNature"
         name="%epScannerConfigNature.name"
         point="org.eclipse.core.resources.natures">
      <requires-nature
            id="org.eclipse.cdt.make.core.makeNature">
      </requires-nature>
      <runtime>
         <run
               class="org.eclipse.cdt.make.core.scannerconfig.ScannerConfigNature">
         </run>
      </runtime>
      <builder
            id="org.eclipse.cdt.make.core.ScannerConfigBuilder">
      </builder>
   </extension>
   <extension
         id="ScannerConfigBuilder"
         name="%epScannerConfigBuilder.name"
         point="org.eclipse.core.resources.builders">
      <builder
            hasNature="true">
         <run
               class="org.eclipse.cdt.make.core.scannerconfig.ScannerConfigBuilder">
         </run>
      </builder>
   </extension>
   <extension
         id="DiscoveredScannerInfoProvider"
         point="org.eclipse.cdt.core.ScannerInfoProvider">
      <cextension>
         <run
               class="org.eclipse.cdt.make.core.scannerconfig.DiscoveredScannerInfoProvider">
         </run>
      </cextension>
   </extension>
   <extension
         point="org.eclipse.cdt.core.PathEntryContainerInitializer">
      <pathEntryContainerInitializer
            class="org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredPathInitializer"
            id="org.eclipse.cdt.make.core.DISCOVERED_SCANNER_INFO">
      </pathEntryContainerInitializer>
   </extension>
   <extension
         point="org.eclipse.core.runtime.preferences">
      <initializer class="org.eclipse.cdt.make.internal.core.PreferenceInitializer"/>
   </extension>
   <extension
         id="GCCStandardMakePerProjectProfile"
         name="%extensionGCCPerProjectProfile.name"
         point="org.eclipse.cdt.make.core.ScannerConfigurationDiscoveryProfile">
      <scannerInfoCollector
            class="org.eclipse.cdt.make.internal.core.scannerconfig2.PerProjectSICollector"
            scope="project"/>
      <buildOutputProvider>
         <open/>
         <scannerInfoConsoleParser class="org.eclipse.cdt.make.internal.core.scannerconfig.gnu.GCCScannerInfoConsoleParser"/>
      </buildOutputProvider>
      <scannerInfoProvider providerId="specsFile">
         <run
               command="gcc"
               arguments="-E -P -v -dD &quot;${plugin_state_location}/${specs_file}&quot;"
               class="org.eclipse.cdt.make.internal.core.scannerconfig2.GCCSpecsRunSIProvider"/>
         <scannerInfoConsoleParser class="org.eclipse.cdt.make.internal.core.scannerconfig.gnu.GCCSpecsConsoleParser"/>
      </scannerInfoProvider>
   </extension>
   <extension
         id="GCCStandardMakePerFileProfile"
         name="%extensionGCCPerFileProfile.name"
         point="org.eclipse.cdt.make.core.ScannerConfigurationDiscoveryProfile">
      <scannerInfoCollector
            class="org.eclipse.cdt.make.internal.core.scannerconfig2.PerFileSICollector"
            scope="file"/>
      <buildOutputProvider>
         <open/>
         <scannerInfoConsoleParser class="org.eclipse.cdt.make.internal.core.scannerconfig.gnu.GCCPerFileBOPConsoleParser"/>
      </buildOutputProvider>
      <scannerInfoProvider providerId="makefileGenerator">
         <run
               arguments="-E -P -v -dD"
               class="org.eclipse.cdt.make.internal.core.scannerconfig2.SCDMakefileGenerator"/>
         <scannerInfoConsoleParser class="org.eclipse.cdt.make.internal.core.scannerconfig.gnu.GCCPerFileSIPConsoleParser"/>
      </scannerInfoProvider>
   </extension>

   <extension point="org.eclipse.core.contenttype.contentTypes">
      <!-- declares a content type for Makefile files -->
      <content-type id="makefile" name="%makefile" 
          base-type="org.eclipse.core.runtime.text"
          priority="high"/>
   </extension>
   <extension point="org.eclipse.core.contenttype.contentTypes">
      <file-association 
          content-type="org.eclipse.cdt.make.core.makefile"
          file-names="Makefile,makefile,GNUMakefile"
          file-extensions="mk"/>
   </extension> 

   <extension
         id="cfgSupportNature"
         name="%natureCfg.name"
         point="org.eclipse.core.resources.natures">
      <requires-nature
            id="org.eclipse.cdt.core.cnature">
      </requires-nature>
      <runtime>
         <run
               class="org.eclipse.cdt.make.internal.core.dataprovider.ConfigSupportNature">
         </run>
      </runtime>
   </extension>
 
   <extension
         id="configurationDataProvider"
         name="%CfgDataProvider.name"
         point="org.eclipse.cdt.core.CConfigurationDataProvider">
         <provider
         	natures="org.eclipse.cdt.make.core.cfgSupportNature"
         	class="org.eclipse.cdt.make.internal.core.dataprovider.MakeConfigurationDataProvider"
         />
   </extension>

    <extension point="org.eclipse.cdt.core.templateProcessTypes">
        <processType
            name="AddMakeTarget"
            processRunner="org.eclipse.cdt.make.internal.core.templateengine.AddMakeTarget">
        <simple name="projectName"/>
        <simple name="targetName"/>
        <simple name="makeTarget" external="true" nullable="true"/>
        <simple name="buildCommand" external="true" nullable="true"/>
        <simple name="buildArguments" external="true" nullable="true"/>
      </processType>
    </extension>

</plugin>

Back to the top