Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » How best to set up multiple exe project?
How best to set up multiple exe project? [message #824636] Mon, 19 March 2012 22:27 Go to next message
chris Fowler is currently offline chris FowlerFriend
Messages: 4
Registered: March 2012
Junior Member
Hi,

I have a project which will have several exe's that need to be built all sharing the same code.

how can I set up the project best to facilitate this?

I have read on the forums the two ways are:
- separate projects for each exe with explicit sharing of libraries
- exclude the main.cpp's you don't want from different build configs

I tried them both, I had trouble setting up a shared library for the 1st way and the second would always build main.cpp even when it was excluded from builds no matter what.

Thanks for any advice
Re: How best to set up multiple exe project? [message #824761 is a reply to message #824636] Tue, 20 March 2012 02:47 Go to previous message
chris Fowler is currently offline chris FowlerFriend
Messages: 4
Registered: March 2012
Junior Member
So I have the setup

project
  <shared library> (This is a static linked library for each project)
    - exe1   
    - exe2
    - exe3 


so how looking through the net, a custom makefile seems like the right option. what do you guys think?

Thanks
Chris

[Updated on: Tue, 20 March 2012 05:57]

Report message to a moderator

Previous Topic:CDT plugin for eclipse indigo
Next Topic:HOW to compile android source code using ecclipse
Goto Forum:
  


Current Time: Tue Apr 23 08:05:40 GMT 2024

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

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

Back to the top