What is the best solution to build several CDT C++ projects from the command line? The projects have references and so it is not possible to just build single projects.
We do this in our existing build.
Put a makefile in all your external references and your toplevel project. In your "all" rule, have it run: make -C ./externalref1 make -C ./externalref2 etc
we actually define the external dependencies in a variable: EXT_DEP = externalref1 externalref2 then use the subst (substitute) command to kick off all the sub-makes using the correct call.