-
Notifications
You must be signed in to change notification settings - Fork 3
HowToImport
Within a few simple steps you should be able to import most CMake based project with our CMake plugin.
Let's exercise on a prominent example: "googletest".
I usually prefer the console and check it out in my ~/git/ directory with:
~/git$ git clone https://github.com/google/googletest.git
Open File -> Import and select "Git" -> Projects from Git and navigate to the local git repository.
You should now see the following:
Just select the option "Import as general project" and click on next.
You should now see the following:
Just click on "Finish".
Now right-click on the project to open the context menu and select "CMake"->"Setup" (as shown below)
As shown in the screen-shot below CMake has been executed and the project can now be built within eclipse.
That's it basically. You may notice that a small icon has been added at the project. This shows that the plugin has been enabled for this project.