Coder Social home page Coder Social logo

seanpm2001 / conan-io_conan-clion-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from conan-io/conan-clion-plugin

1.0 2.0 0.0 674 KB

CLion C/C++ IDE plugin for Conan Package Manager

License: Apache License 2.0

Python 11.11% Java 88.89%

conan-io_conan-clion-plugin's Introduction

Conan CLion Plugin Build Status

Conan CLion plugin adds Conan support to Jetbrains CLion.

Prerequisites

  • CLion version 2018.1 and above.
  • Conan executable in path environment variable.

Using the Plugin

Matching Profiles

Before running the build for the first time, please match a Conan profile to each CMake profile. To do this click on the Match profiles Match profiles icon.

Matching profiles form

Downloading Conan Dependencies

  • The Conan dependencies are automatically downloaded before each CMake build. However, you can download dependencies manually by clicking on the install Install or the Update and install Update and install button.
  • Install - Installs conan dependencies.
  • Update and install - Checks updates existence from upstream remotes and installs conan dependencies.

Install

Config Install

Conan lets you download and use a pre-configured environment. In order to do so, click on Open configuration Open configuration button, supply your config folder URL, and click download.

Install

Set Install Arguments

In order to set Conan install arguments, click on Open configuration button and provide your install arguments. These arguments are passed 'as is' to the Conan install command.

Install args examples:
--build missing
-o zlib:shared=True -o bzip2:option=132

Set Conan Executable Path

If the Conan executable is part of the PATH environment variable, it is used by default. To set a different Conan executable, click on Open configuration button and provide your conan executable path.

Building and Testing the Plugin's Sources

To build and run the plugin sources, please follow these steps:

  1. Clone the code from git.
  2. To run the tests, use the following command:
    ./gradlew clean test
    
  3. To Build and create the Conan CLion Plugin zip file, run the following command.
    ./gradlew clean build
    

After the build process is completed, you'll find the zip file in the build/distributions directory. The zip file can be loaded into CLion.

Installation

  1. Download the latest release or build it from sources.
  2. Under Settings (Preferences) | Plugins, click Install plugin from disk...
  3. Select the zip file and click OK.

Developing the Plugin Code

If you'd like to help us develop and enhance the plugin, this section is for you. To build and run the sandbox following your code changes, follow these steps:

  1. From the Gradle Projects window, expand clion-conan-plugin --> Tasks --> IntelliJ
  2. Run the buildPlugin task.
  3. Run the runIde task.

Code Contributions

We welcome community contribution through pull requests.

conan-io_conan-clion-plugin's People

Contributors

jgsogo avatar lasote avatar lawrencemm avatar yahavi avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.