Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Multiple artifacts within a single project
Multiple artifacts within a single project [message #195883] Mon, 09 July 2007 16:17 Go to next message
Eclipse UserFriend
Are multiple artifacts within a single CDT C/C++ project prohibited?

Is it possible (and easy) to have two different source trees within a
single CDT C/C++ project produce two separate artifacts?

For example, within one project, could one subtree produce a.dll and
another subtree produce b.exe? Or, should there be two projects, one for
each artifact?

How about the case when both the shared and static library of a single
project need to be built?

I apologize if these issues have already been discussed, I was unable to
find clear answers to them and thought it was best to ask.

Thank you,
-Jonathan
Re: Multiple artifacts within a single project [message #195932 is a reply to message #195883] Tue, 10 July 2007 02:27 Go to previous message
Eclipse UserFriend
Jon wrote:

> For example, within one project, could one subtree produce a.dll and
> another subtree produce b.exe? Or, should there be two projects, one for
> each artifact?
>
> How about the case when both the shared and static library of a single
> project need to be built?

Yes, of course, at least if you provide the Makefiles. I do it this way and
just select the proper make target in the Make Target view to select what I
want to build.

Jens
Previous Topic:Changing project executable name
Next Topic:Code assist quirks
Goto Forum:
  


Current Time: Fri May 02 09:30:34 EDT 2025

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

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

Back to the top