Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 89cb50646918a4e909b94dc26f3617d9d7a6daf4 (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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin
   id="org.eclipse.cdt.managedbuilder.core"
   name="%pluginName"
   version="3.0.0"
   provider-name="%providerName"
   class="org.eclipse.cdt.managedbuilder.core.ManagedBuilderCorePlugin">

   <runtime>
      <library name="mngbuildcore.jar">
         <export name="*"/>
      </library>
   </runtime>
   <requires>
      <import plugin="org.eclipse.cdt.core"/>
      <import plugin="org.eclipse.core.resources"/>
      <import plugin="org.eclipse.core.runtime"/>
      <import plugin="org.eclipse.cdt.make.core"/>
      <import plugin="org.eclipse.ui"/>
      <import plugin="org.eclipse.team.core"/>
      <import plugin="org.eclipse.core.variables"/>
   </requires>


   <extension-point id="ManagedBuildInfo" name="Managed Build Tools 2.0 (Deprecated)" schema="schema/ManagedBuildTools.exsd"/>
   <extension-point id="buildDefinitions" name="Managed Build Definitions" schema="schema/buildDefinitions.exsd"/>
   <extension-point id="projectConverter" name="Managed Build Project Converter" schema="schema/Converter.exsd"/>

<!-- =================================================================================== -->
<!-- Extension Point: IScannerInfoProvider for the managed Builder                       -->
<!-- =================================================================================== -->
   <extension
         id="ManagedBuildManager"
         point="org.eclipse.cdt.core.ScannerInfoProvider">
      <cextension>
         <run
               class="org.eclipse.cdt.managedbuilder.core.ManagedBuildManager">
         </run>
      </cextension>
   </extension>
<!-- =================================================================================== -->
<!-- Extension Point: Makefile Generation Builder                                        -->
<!-- =================================================================================== -->
   <extension
         id="genmakebuilder"
         name="%GeneratedMakefileCBuilder.name"
         point="org.eclipse.core.resources.builders">
      <builder
            hasNature="true">
         <run
               class="org.eclipse.cdt.managedbuilder.internal.core.GeneratedMakefileBuilder">
         </run>
      </builder>
   </extension>
<!-- =================================================================================== -->
<!-- Extension Point: Managed Build Project Nature                                       -->
<!-- =================================================================================== -->
   <extension
         id="managedBuildNature"
         name="%ManagedBuildNature.name"
         point="org.eclipse.core.resources.natures">
      <requires-nature
            id="org.eclipse.cdt.core.cnature">
      </requires-nature>
      <runtime>
         <run
               class="org.eclipse.cdt.managedbuilder.core.ManagedCProjectNature">
         </run>
      </runtime>
      <builder
            id="org.eclipse.cdt.managedbuilder.core.genmakebuilder">
      </builder>
   </extension>
   <extension
         point="org.eclipse.cdt.core.PathEntryContainerInitializer">
      <pathEntryContainerInitializer
            class="org.eclipse.cdt.managedbuilder.internal.scannerconfig.ManagedBuildPathEntryContainerInitializer"
            id="org.eclipse.cdt.managedbuilder.MANAGED_CONTAINER"/>
   </extension>
   <extension
         id="managedMake"
         name="%ManagedMakeProject.name"
         point="org.eclipse.cdt.core.CProject">
      <cproject
            natureID="org.eclipse.cdt.managedbuilder.core.managedBuildNature"
            class="org.eclipse.cdt.managedbuilder.internal.core.ManagedMakeProject"/>
   </extension>
   <extension
         id="GCCManagedMakePerProjectProfile"
         name="GNU C/C++ managed make per project SCD profile"
         point="org.eclipse.cdt.make.core.ScannerConfigurationDiscoveryProfile">
      <scannerInfoCollector
            class="org.eclipse.cdt.managedbuilder.internal.scannerconfig.DefaultGCCScannerInfoCollector"
            scope="project"/>
      <scannerInfoProvider providerId="specsFile">
         <run
               arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}"
               command="gcc"
               class="org.eclipse.cdt.make.internal.core.scannerconfig2.GCCSpecsRunSIProvider"/>
         <scannerInfoConsoleParser class="org.eclipse.cdt.make.internal.core.scannerconfig.gnu.GCCSpecsConsoleParser"/>
      </scannerInfoProvider>
   </extension>
   <extension
         id="GCCWinManagedMakePerProjectProfile"
         name="GNU C/C++ managed make per project SCD profile (Windows)"
         point="org.eclipse.cdt.make.core.ScannerConfigurationDiscoveryProfile">
      <scannerInfoCollector
            class="org.eclipse.cdt.managedbuilder.internal.scannerconfig.DefaultGnuWinScannerInfoCollector"
            scope="project"/>
      <scannerInfoProvider providerId="specsFile">
         <run
               arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}"
               command="gcc"
               class="org.eclipse.cdt.make.internal.core.scannerconfig2.GCCSpecsRunSIProvider"/>
         <scannerInfoConsoleParser class="org.eclipse.cdt.make.internal.core.scannerconfig.gnu.GCCSpecsConsoleParser"/>
      </scannerInfoProvider>
   </extension>
   <extension
         point="org.eclipse.team.core.fileTypes">
      <fileTypes
            extension="cdtbuild"
            type="text"/>
   </extension>

<!-- =================================================================================== -->
<!-- Define C/C++ "object" files ContentTypes                                            -->
<!-- =================================================================================== -->
  <extension point="org.eclipse.core.runtime.contentTypes">
	  <!-- declares a content type for object files -->
	  <content-type id="compiledObjectFile" name="%objectFileName" 
		  priority="high"/>
	  <!-- declares a content type for executable files -->
      <content-type id="executableFile" name="%executableName" 
          priority="high"/>
	  <!-- declares a content type for static libraries -->
      <content-type id="staticLibrary" name="%staticLibraryName" 
          priority="high"/>
	  <!-- declares a content type for shared libraries -->
      <content-type id="sharedLibrary" name="%sharedLibraryName" 
          priority="high"/>
  </extension>

  <extension point="org.eclipse.core.runtime.contentTypes"> 
      <file-association 
       content-type="org.eclipse.cdt.managedbuilder.core.compiledObjectFile"
       file-extensions="obj,o"/>
   </extension> 

   <extension point="org.eclipse.core.runtime.contentTypes"> 
      <file-association 
       content-type="org.eclipse.cdt.managedbuilder.core.executableFile"
       file-extensions="exe"/>
   </extension> 

   <extension point="org.eclipse.core.runtime.contentTypes"> 
      <file-association 
       content-type="org.eclipse.cdt.managedbuilder.core.staticLibrary"
       file-extensions="lib,a"/>
   </extension> 

   <extension point="org.eclipse.core.runtime.contentTypes"> 
      <file-association 
       content-type="org.eclipse.cdt.managedbuilder.core.sharedLibrary"
       file-extensions="dll,so,dylib"/>
   </extension> 

</plugin>

Back to the top