Skip to main content

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

Hi Mikhail,
 
Sorry for the incomplete info. I'm using CDT v3.1.1 (with Eclipse 3.2)
It's not a CDT problem - I tried out a Standard Make C project using CDT & Cygwin, where any level of nesting worked.
 
I'm probably missing something in my plug-in, but can't figure out what it is.
I've checked & re-checked, comparing relevant parts with the CDT plug-ins. It looks correct but doesn't work like CDT's.
 
Thanks!
Delicia.
 
------------------------------
From: "Sennikovsky, Mikhail" <mikhail.sennikovsky@xxxxxxxxx>
Subject: RE: [cdt-dev] Scanner discovery in Standard make works only one level
To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Message-ID:
<B868AC247BCBC441B1B4F378A325E47DDEF626@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"

Hi Delicia,

What version of CDT are you using?

Mikhail

________________________________
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Delicia
Sent: Tuesday, March 13, 2007 7:46 PM
To: cdt-dev@xxxxxxxxxxx
Subject: [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.PerProjectSICol
lector"
            scope="project"/>
      <buildOutputProvider>
         <open/>
         <scannerInfoConsoleParser
class="org.eclipse.cdt.make.internal.core.scannerconfig.gnu.GCCScannerIn
foConsoleParser"/>
      </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.GCCSpecsRunSIPr
ovider"/>
         <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.PerFileSICollec
tor"
            scope="file"/>
      <buildOutputProvider>
         <open/>
         <scannerInfoConsoleParser
class="org.eclipse.cdt.make.internal.core.scannerconfig.gnu.GCCPerFileBO
PConsoleParser"/>
      </buildOutputProvider>
      <scannerInfoProvider providerId="makefileGenerator">
         <run
               arguments="-f ${project_name}_scd.mk"
               command="make"
 
class="org.eclipse.cdt.make.internal.core.scannerconfig2.SCDMakefileGene
rator"/>
         <scannerInfoConsoleParser
class="org.eclipse.cdt.make.internal.core.scannerconfig.gnu.GCCPerFileSI
PConsoleParser"/>
      </scannerInfoProvider>
   </extension>

Back to the top