Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Scanner discovery in Standard make works only one level

Hi,

 The ScannerConfig Discovery in Managed make works very well.
However, in Standard Make, it works upto just one level. For e.g.
In a C source, I have #include <stdio.h> so this is visible in the 'Outline
View'
I double click on this file in the outline view & it opens.
Now, stdio.h in turn includes a list of standard headers. However if I try
to open these from the outline view, it can't locate them.

The virtual Includes contains correct entries.
Is there something I've missed out for Standard make?

Thanks!
Delicia.

My plugin.xml contains (The UI plugin uses these):
<extension
         id="CraStandardMakePerProjectProfile"
         name="%CradlePerProjectProfile.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="mygcc"
               arguments="-E -P -v -dD
${plugin_state_location}/${specs_file}"
               class="org.eclipse.cdt.make.internal.core.scannerconfig2.GCCSpecsRunSIProvider"/>
         <scannerInfoConsoleParser
class="org.eclipse.cdt.MySpecsConsoleParser"/>
      </scannerInfoProvider>
   </extension>
   <extension
         id="CraStandardMakePerFileProfile"
         name="%CradlePerFileProfile.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="-f ${project_name}_scd.mk"
               command="make"
               class="org.eclipse.cdt.make.internal.core.scannerconfig2.SCDMakefileGenerator"/>
         <scannerInfoConsoleParser
class="org.eclipse.cdt.make.internal.core.scannerconfig.gnu.GCCPerFileSIPConsoleParser"/>
      </scannerInfoProvider>
   </extension>


Back to the top