score:1

i always execute cmake outside eclipse and open the generated eclipse project in eclipse.

use -g "eclipse cdt4 - unix makefiles" to specify eclipse as the generator.

following are the full set of eclipse generators.

  eclipse cdt4 - nmake makefiles
                               = generates eclipse cdt 4.0 project files.
  eclipse cdt4 - mingw makefiles
                               = generates eclipse cdt 4.0 project files.
  eclipse cdt4 - ninja         = generates eclipse cdt 4.0 project files.
  eclipse cdt4 - unix makefiles= generates eclipse cdt 4.0 project files.

type in cmake --help to see what generators are supported by your specific cmake version.


Related Query

More Query from same tag