Scanner discovery in Standard make works only one level [message #187447] |
Mon, 12 March 2007 14:26 |
Eclipse User |
|
|
|
Originally posted by: deliciap.cradle.com
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.ScannerConfigurationDiscoveryProfi le ">
<scannerInfoCollector
class=" org.eclipse.cdt.make.internal.core.scannerconfig2.PerProject SICollector "
scope="project"/>
<buildOutputProvider>
<open/>
<scannerInfoConsoleParser
class=" org.eclipse.cdt.make.internal.core.scannerconfig.gnu.GCCScan nerInfoConsoleParser "/>
</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.GCCSpecsRu nSIProvider "/>
<scannerInfoConsoleParser
class="org.eclipse.cdt.MySpecsConsoleParser"/>
</scannerInfoProvider>
</extension>
<extension
id="CraStandardMakePerFileProfile"
name="%CradlePerFileProfile.name"
point=" org.eclipse.cdt.make.core.ScannerConfigurationDiscoveryProfi le ">
<scannerInfoCollector
class=" org.eclipse.cdt.make.internal.core.scannerconfig2.PerFileSIC ollector "
scope="file"/>
<buildOutputProvider>
<open/>
<scannerInfoConsoleParser
class=" org.eclipse.cdt.make.internal.core.scannerconfig.gnu.GCCPerF ileBOPConsoleParser "/>
</buildOutputProvider>
<scannerInfoProvider providerId="makefileGenerator">
<run
arguments="-f ${project_name}_scd.mk"
command="make"
class=" org.eclipse.cdt.make.internal.core.scannerconfig2.SCDMakefil eGenerator "/>
<scannerInfoConsoleParser
class=" org.eclipse.cdt.make.internal.core.scannerconfig.gnu.GCCPerF ileSIPConsoleParser "/>
</scannerInfoProvider>
</extension>
|
|
|
Powered by
FUDForum. Page generated in 0.03669 seconds