I have a C source repository with an Eclipse project (.project and .cproject files at the top-level). I need to build that project from the command line, so that it is integrated with our CI system.
I know that I can build an Eclipse workspace from the command line (or a specific project within a workspace), as explained here: C++ eclipse project automatic build server and here: Build Eclipse Java Project from Command Line But what I would like to do is to build a project without having any workspace. It sounds pretty ugly to commit a workspace (.metadata folder) into the source repository.
Is there other command line options for building a project without having to specify a workspace? If not, is it possible to generate the workspace "on the fly"?