Skip to content

Commit

Permalink
More information on README for 2.0.1 (#152)
Browse files Browse the repository at this point in the history
* wip

* minor changes

* fix links

* add more info
  • Loading branch information
czoido authored Aug 31, 2023
1 parent 7dbed7f commit 7fd71a3
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 1 deletion.
Binary file added .github/readme/clion-configuration-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/readme/clion-configuration-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/readme/clion-inspect.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/readme/clion-use-libcurl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 33 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,39 @@ List available libraries, install and use them without leaving CLion

## Using the Plugin

Please check https://blog.conan.io/introducing-new-conan-clion-plugin/
> **Note**
>
> For a detailed explanation of how to use the plugin check: https://blog.conan.io/introducing-new-conan-clion-plugin/

Go to the “Conan” tool tab at the bottom of the IDE. You will see that the only enabled
action in the toolbar of the plugin is the one with the ⚙️ (wheel) symbol, click on it.

![Initial configuration](./.github/readme/clion-configuration-1.png)

The first thing you should do there is configuring the Conan client executable that's
going to be used. You can point to one specifically installed in an arbitrary location on
your system or you can select *"Use Conan installed in the system"* to use the one
installed at the system level.

![Set conan executable](./.github/readme/clion-configuration-2.png)

You will find there some options marked as default. Normally, if you are using the Conan plugin, you wouldn't want to unmark them. So leave
them and let's create our project and add the libraries to it. So, click on the OK button
and the plugin should be ready to use.

After doing the initial configuration, you will notice that the list of libraries is now
enabled and that the 🔄 (update) and 👁️ (inspect) symbols are also enabled.

Now that we have our plugin configured and ready, you can now search for any libraries available in Conan Center and add those to your project.

![Search libraries](./.github/readme/clion-use-libcurl.png)

Now, if you click on the 👁️ (inspect) icon mentioned earlier, you will see all the
libraries we added to the project. This includes basic target information for CMake and
the necessary code snippets to add to CMake to use them.

![Inspect libraries](./.github/readme/clion-inspect.png)

## Installation

Expand Down

0 comments on commit 7fd71a3

Please sign in to comment.