Multiple platforms per project [message #116080] |
Wed, 18 August 2004 09:37  |
Eclipse User |
|
|
|
Originally posted by: schaedpq.despammed.com
Hi!
First of all, I am new to Eclipse and CDT and I really like it so far. But I
have a question which I was not able to answer from the tutorials/FAQ. I hope
you can help me: ;-)
Is it possible to use the same project (Managed Make) for more than one target
platform? I would like to use same project for creating an application for
Linux (Executable (Gnu)) and Windows (Executable (Gnu on windows)). But you
have to choose one platform during project creation and you cannot
change/switch later on (at least not in project properties->C/C++
build->Platform) or am I wrong?
So, is there a possibility to switch the target platform of a project for a
specific build process?
Regards,
Dominik
|
|
|
|
|
Re: Multiple platforms per project [message #116272 is a reply to message #116261] |
Thu, 19 August 2004 13:20  |
Eclipse User |
|
|
|
Domink,
We are talking months rather than weeks. One thing you might consider is
starting out as a managed project, generating the makefiles, then
switching over to a standard project. You would still have to maintain
the variable bits yourself (i.e. keep the source lists up-to-date when
you add/remove/move source files) and add a top-level makefile that
coordinates which target to build. Of course, when the rubber hits the
road, it's probably a bit more involved than that, but at least it's an
option. Wish I had better news,
Sean
Dominik Schäfer wrote:
> Hi Sean!
>
>
>>Unfortunately, that's a work in progress.
>
> Ahh, I see. Thats a pity... ;-( Do you know, when this feature will hit
> CDT (weeks or rather months?)?
>
>
>>At the moment, you can use a
>>standard make project to build for separate target platforms.
>
> Mhmm, OK, I might try that. I just didn't want to write those Makefiles
> anymore... *g*
>
> Bye,
> Dominik
>
|
|
|
Powered by
FUDForum. Page generated in 0.04472 seconds