Importing list of source files into an Eclipse project

前端 未结 4 1049
终归单人心
终归单人心 2021-02-06 13:06

We have a topdirectory containing code for lots of different projects. I would like to create an Eclipse CDT-project that contains only the source needed to work on and compile

4条回答
  •  不要未来只要你来
    2021-02-06 13:34

    Traditionally, Eclipse assumes that the .project file is at the top-level directory of your project's sources and all the source code below it is included in the project. However, I think that you should be able to use linked folders so that you have a Eclipse project directory which is basically empty but for a .project file and a linked folder which points to your source tree. I do not think however that you can explicitly list the files to include in the project.

    EDIT: if you do find a solution to this, please let me know.

提交回复
热议问题