CLion 2021.2 Help

Toolchains

Toolchains list

Here you can create or delete a toolchain and modify an existing one:

  • Icons general add- use button to create a new toolchains configuration.

  • Icons general remove- use this button to delete a selected toolchain.

  • Icons general arrow up- use this button to move the selected toolchain up in the list.

  • Icons general arrow down- use this button to move the selected toolchain down in the list.

Toolchain type (Linux and macOS)

Item

Description

System

The default value for a toolchain not to be used for remote development.

Remote Host

Select this option for Remote Development and provide the remote host credentials in the Credentials field.

Toolchain type (Windows)

Item

Description

MinGW

Select this option to use MinGW.

In the Environment field, select one of the MinGW installations detected by CLion or provide the path manually.

Cygwin

Select this option to use Cygwin.

In the Environment field, select one of the Cygwin installations detected by CLion or provide the path manually.

Visual Studio

Select this option to use Microsoft Visual C++.

In the Environment field, provide the path to Visual Studio home.

In the Architecture, Platform, and Version fields, specify the architecture (x86, amd64, x86_arm, amd64_arm, etc), type of a platform (store, uwp, onecore, or leave it blank) and version (Windows SDK name or leave it blank).

WSL

Select this option to use the WSL toolset.

In the Environment field, select one of the available WSL disributions.

Remote Host

Select this option for Remote Development.

In the Credentials field, provide the remote host credentials.

CMake

Item

Description

CMake

Specify the path to CMake home directory, bundled or custom.

Make

Specify the path to the Make utility or use the one detected by CMake.

C Compiler

Specify the path to the desired C compiler or use the one detected by CMake.

C++ compiler

Specify the path to the desired C++ compiler or use the one detected by CMake.

Debugger

Item

Description

Debugger

You can switch between the bundled GDB (currently v 10.2 for macOS, v 10.2 for Windows and Linux) and LLDB (version 12.0.0 on macOS or Linux and 9.0.0 on Windows MSVC), or choose a custom GDB.

Note that custom LLDB is not currently supported.

Last modified: 23 September 2021