Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Compiling one compile unit
Compiling one compile unit [message #153516] Fri, 09 September 2005 10:58 Go to next message
Eclipse UserFriend
Is there any way in a managed make project to compile just one compile
unit, i.e., one .cpp file? This would really be handy. (Any IDE should
be able to do this.)
Re: Compiling one compile unit [message #153579 is a reply to message #153516] Fri, 09 September 2005 12:09 Go to previous messageGo to next message
Eclipse UserFriend
John Boncek wrote:
> Is there any way in a managed make project to compile just one compile
> unit, i.e., one .cpp file? This would really be handy. (Any IDE should
> be able to do this.)
>

Would creating a custom make target do this? I dunno - I've never tried.
Re: Compiling one compile unit [message #153601 is a reply to message #153579] Fri, 09 September 2005 19:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: martin.proctophantasmist.cjb.net

Patrick Turley wrote:
> John Boncek wrote:
>
>> Is there any way in a managed make project to compile just one compile
>> unit, i.e., one .cpp file? This would really be handy. (Any IDE
>> should be able to do this.)
>>
>
> Would creating a custom make target do this? I dunno - I've never tried.


But there is no way to do that in a managed project is there? (i.e to
execute "make path/file.o" from the IDE ) I'm greatly interested in the
answer too.

thanks.
Re: Compiling one compile unit [message #153833 is a reply to message #153601] Tue, 13 September 2005 11:10 Go to previous messageGo to next message
Eclipse UserFriend
Apparently, the answer is no.

John Boncek
JBoncek@Hunter.Com
Re: Compiling one compile unit [message #153848 is a reply to message #153833] Tue, 13 September 2005 12:50 Go to previous message
Eclipse UserFriend
Originally posted by: fireonyoursleeve.hotmail.com

In the managed build system extensibility doc (in the cdt help doc) it talks
about the following:

2.1.6 Building a Configuration
The user can build projects from within the Eclipse/CDT user interface, or
from a command line that can be placed in a batch/script file.
The user can build the currently active configuration, or select a different
set of configurations to build.
The user can rebuild an individual resource separate from building the
entire project.

But from "select a different set" on is marked in red which indicates that
it hasn't been implemented yet. I assume that a similar issue is tracked in
bugzilla as not yet implemented, but I haven't dug thru that stuff yet.

"John Boncek" <JBoncek@Hunter.Com> wrote in message
news:53d1775daf7c10d5981fbe9319b1bd04$1@www.eclipse.org...
> Apparently, the answer is no.
>
> John Boncek
> JBoncek@Hunter.Com
>
Previous Topic:Windows: does cygwin have to be in my PATH?
Next Topic:Add watchpoint
Goto Forum:
  


Current Time: Wed Sep 17 15:51:25 EDT 2025

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

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

Back to the top