How to configure Eclipse CDT for cmake?

后端 未结 7 1318
生来不讨喜
生来不讨喜 2020-11-30 22:30

How to configure Eclipse \"Helios\" with plugin CDT for cmake?

cmake all 
CMake Error: The source directory \"D:/javaworkspace/workspace/Planner/Debug/all\"          


        
7条回答
  •  青春惊慌失措
    2020-11-30 23:17

    This is an old question, but deserves some updates.

    First is that the person who made cmake4eclipse added the parsing functionality into CDT. The feature/bug was marked as "Resolved-Fixed" on 2020-08-05 (Aug 5, 2020), so it should go into the version of Eclipse due out next month. See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=559674

    The other thing to point out is that you can manually trigger parsing on files:

    Configuration Options / Index source and header files opened in editor

    Configuration Options / Index source and header files opened in editor

提交回复
热议问题