简体   繁体   中英

How to use Eclipse to observe a CLion project in Git

There is a C/C++ project in GitLab made with CLion & Cygwin. Since I don't have CLion, I want to use Eclipse to simply look at the source files, pull updates, etc. I don't need to edit, build, or run it.

I can't figure out how to make this work. I've been able to use Eclipse to clone the repo locally, but am stuck on what to do next.

As mentioned in comments, the solution (after cloning the repo) is to create a new "Makefile Project with existing code". Enter the project name and point it at the local repo. In my case, for Toolchain I selected MacOSX GCC.

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