Importing a CMake project into Eclipse CDT

前端 未结 6 1325
Happy的楠姐
Happy的楠姐 2021-01-30 16:49

I have a native CMake project, and I want to use the Eclipse IDE with it so that it makes my development easier by providing auto-complete and and other features. I can\'t seem

6条回答
  •  失恋的感觉
    2021-01-30 17:50

    One simple solution on my desktop:

    1. In eclipse: New -> New C/C++ Project -> Empty or Existing CMake Project, choose a project name (e.g. project).
    2. Copy all you files of the old directory to the new one (path to your project).

提交回复
热议问题