Skip to main content
The 2024 Developer Survey results are live! See the results

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • 1
    Note that you should really use a separate directory for building, but this will work.
    – byteit101
    Commented May 3, 2014 at 0:59
  • In my case it created just the CMakeFiles directory, CMakeCache.txt and cmake_install.cmake. :/ I also worked with the tutorial at the cmake.org, same result. Could the problem be that my cmake files define two different projects under same solution? Do you think that it can be the reason? Commented Oct 30, 2014 at 15:50
  • 2
    "Show Hidden Files" was the problem in my case :) Commented Oct 30, 2014 at 17:20
  • 2
    Note that CMake’s CDT project generator apparently is not maintained any more, see my answer below for an alternative (suggested to me by an Eclipse dev).
    – user149408
    Commented Aug 11, 2018 at 16:10
  • 2
    I tried for days making Eclipse and CMake work like I want it to. Just tried KDevelop and it makes a great first impression! Importing and building worked like a charm
    – smcs
    Commented Apr 3, 2019 at 14:05