Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » parsing Makefile?
parsing Makefile? [message #152802] Wed, 31 August 2005 20:12 Go to next message
Eclipse UserFriend
Originally posted by: no.yes.maybe

Hi,
I need to programmatically retrieve some information from a Makefile. Is
CDT parsing the makefile and building a model out of it? if it is, how
can I access such model?

Thanks,
Roberto
Re: parsing Makefile? [message #152895 is a reply to message #152802] Thu, 01 September 2005 14:53 Go to previous messageGo to next message
Patrick Turley is currently offline Patrick TurleyFriend
Messages: 43
Registered: July 2009
Member
roberto wrote:
> Hi,
> I need to programmatically retrieve some information from a Makefile. Is
> CDT parsing the makefile and building a model out of it? if it is, how
> can I access such model?
>
> Thanks,
> Roberto

I presume you are using a *managed* project.

I don't know the code, but I believe it's actually the opposite of what
you've suggested. I believe the CDT has it's own internal information
about the project and is generating the makefile from this data.

If you are using a *standard* project, then the CDT pays no attention to
the makefile, as far as I know.
Re: parsing Makefile? [message #152926 is a reply to message #152895] Thu, 01 September 2005 16:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: no.yes.maybe

Actually, I need this for non-managed make projects. Unfortunately I
found another thread on this newsgroup indicating that no makefile
parser exists in CDT.

Roberto


Patrick Turley wrote:
> roberto wrote:
>
>> Hi,
>> I need to programmatically retrieve some information from a Makefile.
>> Is CDT parsing the makefile and building a model out of it? if it is,
>> how can I access such model?
>>
>> Thanks,
>> Roberto
>
>
> I presume you are using a *managed* project.
>
> I don't know the code, but I believe it's actually the opposite of what
> you've suggested. I believe the CDT has it's own internal information
> about the project and is generating the makefile from this data.
>
> If you are using a *standard* project, then the CDT pays no attention to
> the makefile, as far as I know.
Re: parsing Makefile? [message #153314 is a reply to message #152926] Wed, 07 September 2005 19:35 Go to previous message
Eclipse UserFriend
Originally posted by: dschaefer.qnx.com

roberto wrote:
> Actually, I need this for non-managed make projects. Unfortunately I
> found another thread on this newsgroup indicating that no makefile
> parser exists in CDT.
>
> Roberto

No, unfortunately there doesn't. This is a dream for sometime in the future.

Cheers,
Doug
Previous Topic:Buiding CDT from sources
Next Topic:managed build issue
Goto Forum:
  


Current Time: Thu Jul 18 06:34:00 GMT 2024

Powered by FUDForum. Page generated in 0.03115 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top