Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 89cb50646918a4e909b94dc26f3617d9d7a6daf4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                      
                         


                                           
                  



                                                                        


                                       

             

                                                   
                                                 
                                                  
                                       
                                              
                                                   


              

                                                                                                                              
                                                                                                                 













































                                                                                             





                                                                                                                   







                                                                                     



                                                                                


                                                                                                        







                                                                                                                       
             


                                                                                


                                                                                                           








                                                                                                                       




                                                 
 


























                                                                                            
                              










                                                                       
                                       

                
         
<?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