My personal webspace

A webspace for innovation, free thinking, and procrastination

For a long time, I was using the cmake CDT generator to make cmake projects. I started getting very strange errors in the most recent version of Eclipse, and stumbled upon this thread which explained the CDT generator was super old.

To do this with a modern Eclipse version, you basically want to:

  1. File -> New -> New C/C++ Project
  2. Select “Empty or Existing CMake Project”
  3. Uncheck “Use default location”, and navigate to your project

Then things should magically work.

Pictures for those who need them:

Select New C/C++ Project

<img style=“width: 100%;” alt=“Uncheck “Use default location”” src=“http://logrit.com/media/uploads/Screenshot%20from%202018-08-09%2011-11-48.png" />


Content © 2022 Charles Hathaway