<< September 2017 | Home

Eclipse CDT Indexer working with CMake & C++11

Finally started working on my nodetree-project. My IDE of choice is still eclipse although it makes one scream from time to time. Since my new project needs c++11 I do want the indexer to make it available for autocompletion. Well, but it does not out of the box. To make a long story short:

  • In CMake: Add to your CMakeLists.txt:
  • In Eclipse: RightClick your project'->"C/C++ Include Paths and Symbols"->Change __cplusplus=1997... to __cplusplus=201103L

And the best thing, that define-change withstands a cmake-rebuild. At least it seems, so.

Export this post as PDF document  Export this post to PDF document

Social Bookmarks :  Add this post to Slashdot    Add this post to Digg    Add this post to Reddit    Add this post to Delicious    Add this post to Stumble it    Add this post to Google    Add this post to Technorati    Add this post to Bloglines    Add this post to Facebook    Add this post to Furl    Add this post to Windows Live    Add this post to Yahoo!

<< September 2017 | Home