Multiple Binary Project in Eclipse CDT

I think it is quite normal to have more than one binary file in a project. However, with the Eclipse CDT, I don’t know how to configure the IDE so that everything is done.

I know that I can create several projects - one per binary. And I know that I can install dependencies for each project. However, I cannot consider them as one project in Eclipse. If I would like to share the code with a version control system (for example, svn), each developer must import the projects separately.

What I skipped seems like a solution (sln file) in Visual Studio. Should I create one project and create make files myself?

I have not tried it yet, but there is this “set of projects” that you can export and import. Is this a solution? Could this be introduced in version control?

My goal is to put everything under version control, not just subprojects. I can’t imagine that CDT only makes sense for single-bit applications.

How can I work correctly?

+3
source share
1 answer

I am sure that CDT does not support subprojects , which leaves you pretty much:

  • one workspace per “set of projects”
  • one project per binary file (as you indicate in your question)
  • project dependencies (as you indicate in your question)

:

, .
, , ( ) ( " " )

+1

Source: https://habr.com/ru/post/1740666/


All Articles