Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Multiple platforms per project
Multiple platforms per project [message #116080] Wed, 18 August 2004 13:37 Go to next message
Eclipse UserFriend
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 #116157 is a reply to message #116080] Wed, 18 August 2004 15:36 Go to previous messageGo to next message
Sean Evoy is currently offline Sean EvoyFriend
Messages: 195
Registered: July 2009
Senior Member
Dominik,
Unfortunately, that's a work in progress. At the moment, you can use a
standard make project to build for separate target platforms.

Sean

Dominik Schäfer wrote:
> 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 #116261 is a reply to message #116157] Thu, 19 August 2004 16:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: schaedpq.despammed.com

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
Re: Multiple platforms per project [message #116272 is a reply to message #116261] Thu, 19 August 2004 17:20 Go to previous message
Sean Evoy is currently offline Sean EvoyFriend
Messages: 195
Registered: July 2009
Senior Member
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
>
Previous Topic:Docs about gdb integration
Next Topic:outline view with 'const inline member function'
Goto Forum:
  


Current Time: Tue Oct 01 22:32:06 GMT 2024

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

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

Back to the top