简体   繁体   中英

How to setup a linux C++ project in Eclipse?

I have an existing C++ project on a linux environment, and would like to import it into the Eclipse IDE.

Not sure if I should start a new Eclipse C++ project, or if there was some way to import the source files?

You can create a new Eclipse C++ project "in-place", ie if you have your sources checked out at /home/joe/mysources, you can select that directory in the new project wizard (uncheck the "use default location" checkbox first). All your source files will show up in the Eclipse project.

一个解决方案:只需创建一个新的C ++项目(标准项目),签出/复制文件,然后在资源视图中右键单击项目目录并选择新建>其他> C ++>转换为C / C ++ Make项目。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM