Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] CDT New Project Model design initial draft

Hi Wieant,

The tool requires configuration (by us) before it'll support a new
compiler. However, the tool command is the same for all compilers
supported compilers and there is a separate configuration file
(cantpp.cfg) that contains the compiler specific defines and modified
parse options. 

The cantpp.cfg file has different sections for different compilers
(including which libraries to use), and you can define one to be the
default which is sufficient for most users. In addition you can specify
the section to use in a project level option file (and the default
setting for new projects can be defined in workspace preference). 

So, in theory at least, as far as the user is concerned the tool is
generic.

Cheers,
Richard

          
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On
> Behalf Of Wieant Nielander
> Sent: Friday 04 August 2006 10:50
> To: CDT General developers list.
> Subject: Re: [cdt-dev] CDT New Project Model design initial draft
> 
> 
> > It looks like using ITool.setToolCommand(String) may be precisely
what I
> > want for modifying the compile/link commands. Am I right that the
way of
> > getting at the ITool objects for a project is to use something like
the
> > following:
>  ...
> 
> Richard,
> 
> Just curious about how 'generic' your tool is, I guess it does require
> some info about the toolset it is used with, i.e. to add the correct
> libraries? Somehow the idea of poking around in the tool command does
> not seem right to me (but must admit, don't yet have a better
solution).
> 
> Regards,
>   Wieant
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev


The information transmitted is intended only for the person
or entity to which it is addressed and may contain
confidential and/or privileged material. If you are not the
addressee, any disclosure, reproduction, copying,
distribution, or other dissemination or use of this
communication is strictly prohibited. If you have received
this transmission in error please notify the sender
immediately and then delete this email.

Any representations or commitments expressed in this email
are subject to contract.

This message has been scanned for viruses and dangerous
content. However, it is essential that the recipient also
checks this message using commercially available mail
scanning and anti-virus software. IPL Information Processing
Limited accepts no liability for any loss or damage resulting
from any virus or other dangerous content in this message.



Back to the top