Skip to main content



      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 18:27 Go to next message
Eclipse UserFriend
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] Mon, 19 March 2012 22:47 Go to previous message
Eclipse UserFriend
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 01:57] by Moderator

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


Current Time: Sun Jun 15 12:15:42 EDT 2025

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

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

Back to the top