How does one create the equivalent of below in Eclipse with its CDT?
Below, there's a "root" project with a main
(ConsoleTest
) and a couple of libraries (StaticLib
and DynamicLib
). The root project depends upon both the static library and dynamic library (or shared object).
In Eclipse, its called a "multi module project", but I have not come across documentation of creating it or maintaining it. There are lots of questions on user forums, but little to no useful answers (cf, multi module project site:eclipse.org).
When I attempt to add additional projects with Eclipse, I get the error, /home/jwalton/StaticLib overlaps the location of another project: 'ConsoleTest'
. In this case, ConsoleTest
is the main project, and StaticLib
is a project that I am trying to add.
I know the question is somewhat broad. But I also know there's not "too many good answers" because I've been searching on and off for a couple of days. This question is similar to Building a multi module C project (i.e. solution) with Eclipse CDT, but without the Autotools requirement.