Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » How to set compilation option for a file ?
How to set compilation option for a file ? [message #107454] Thu, 24 June 2004 10:33 Go to next message
Eclipse UserFriend
Hello,

Is it possible with the CDT to set compilation options for a file or a
subset of files ?
We need to have this feature because some files need some optimization
options or inlining options not necessary for the others.

If it doesn't exist, is it possible to plan it as an enhancement ?
Re: How to set compilation option for a file ? [message #107500 is a reply to message #107454] Thu, 24 June 2004 14:59 Go to previous messageGo to next message
Eclipse UserFriend
It's in the post-2.0 queue @
https://bugs.eclipse.org/bugs/show_bug.cgi?id=65461

"Jerome Correnoz" <jerome.correnoz@st.com> wrote in message
news:cbeook$2pn$1@eclipse.org...
> Hello,
>
> Is it possible with the CDT to set compilation options for a file or a
> subset of files ?
> We need to have this feature because some files need some optimization
> options or inlining options not necessary for the others.
>
> If it doesn't exist, is it possible to plan it as an enhancement ?
>
>
>
Re: How to set compilation option for a file ? [message #112348 is a reply to message #107500] Fri, 23 July 2004 10:35 Go to previous message
Eclipse UserFriend
Originally posted by: cenedese.nospam.indel.ch

> > Is it possible with the CDT to set compilation options for a file or a
> > subset of files ?
>
> It's in the post-2.0 queue @
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=65461

Nice, we could use that too. Even better would be that every file
has not only different flags, but a complete command line. So you
don't necessarily need to call gcc or ld. e.g. we call ar to create
libraries, objcopy to change the resulting output file, cp to copy
a file to a diferent place etc. All possible with a normal makefile,
but not easy to handle.

bye Fabi
Previous Topic:Variables in Managed Make
Next Topic:Writing plugin using cdt
Goto Forum:
  


Current Time: Thu May 08 07:05:23 EDT 2025

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

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

Back to the top