How to Open in CLion in / create a project? CLion mac Tutorial

How to Open in CLion in / create a project? Today small to give us a tutorial CLion mac, open CLion in / create a project, hoping to help to you!

JetBrains CLion 2019 for Mac (intelligent C and C ++ editor)

Open an existing project

First, open an existing project stored on your computer.

If your project uses CMake build system, you can from the "Welcome", "file" on the screen or main menu, click "New Project", and then locate the file CMakeLists.txt.

16812106-c7159b9fcf3e0bfb.png

Select New CMake Project from Sources and specify the source location, then select the project file and directory that contains:

16812106-9894ba22f8ae8014.png

Then, CLion CMake project will be created according to the sources you want.

To open Gradle or compiling the database project, select build.gradle or compile_commands.json file, then select Open as Project.

View from existing projects in Version Control

You can also download the source from VCS store or library. Select Git, GitHub, CVS, Mercurial, Subversion, Perforce or TFS, then enter your credentials to access the store. Then, the input source is the path to the local host and stored library clones:

16812106-4ba7136c949c15ea.png

Creating a project from scratch

If you want to start from scratch, click on the "Welcome", "New Project" on the screen, enter the project name in the dialog box, and then create a sample project:

16812106-7c6b0db2ce9ed2c1.png

These are small to give us the CLion mac tutorial, you learn it?

Guess you like

Origin blog.csdn.net/weixin_33757609/article/details/90890632