Skip to content

Latest commit

 

History

History
34 lines (18 loc) · 1.87 KB

howto.adoc

File metadata and controls

34 lines (18 loc) · 1.87 KB

How To

This page explains how to install, build and create conan packages and how to install workspaces.

Create a Configuration Template

On Startup if a conanfile.py or a conanfile.txt exisit in the workspace and no configuration file exisit a dialog will appear where a conan-settings.json template can be created. More to the configuration is explained in the configure guide. The template conan-settings.json file can also be created over the "Disroop Conan: Create Template" command.

Packages

To install, build and create conan packages the profile settings in conan-settings.json file is used. The profile with the corresponding name can be chosen to build, install, or create with the profile picker. To pick a profile the the button at the bottom or "Disroop Conan: Pick profile" command can be used.

Install and build

To install and build your conan package use the install and build button at the bottom or use the "Disroop Conan: Install" and "Disroop Conan: Build" command.

Build and install

Create

To create package use the create button at the bottom or use the "Disroop Conan: Create package" command.

Create Package

Workspaces

Conan workspaces is an experimental feature of conan but great to work with if you work on multiple packages simultaneously. With the vscode-cmake-tools from Microsoft and the disroop conan plugin, this is a great setup to work locally. The workspaces settings in conan-settings.json file is used to install conan workspaces. You can choose the workspace with the corresponding name with the profile picker to install the workspace.

Install Workspace

To install a conan workspace use the install workspace button at the bottom or use the "Disroop Conan: Install" command.

Install Workspace