Use this page as the reference when creating a toolchain. See also Toolchains for CMake projects.
Here you can create or delete a toolchain and modify an existing one:
- use button to create a new toolchains configuration.
- use this button to delete a selected toolchain.
- use this button to move the selected toolchain up in the list.
- use this button to move the selected toolchain down in the list.
Toolchain name and type
Specify the toolchain name.
Type (Linux and macOS)
Choose from the drop down list:
Select the preferred environment from the drop down list:
Choose this item to use MinGW. In the text field, specify the path to the MinGW home or use the one detected by CLion.
Choose this item to use Cygwin. In the text field, specify the path to the Cygwin home or use the one detected by CLion.
Choose this item to use Microsoft Visual C++ compiler.
In the text field, specify the path to the Microsoft Visual Studio home (for example,
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).
Choose this item to use the WSL toolset. Select the automatically detected path to WSL distribution from the drop down list.
Credentials - this field represents the SSH credentials that will be used to work with the selected WSL distribution. Click the button to configure credentials such as username, password and port. User name and password should be the same as you entered during the WSL set up procedure.
Choose this item for Remote Development. In the Credentials field, provide the remote host credentials.
Specify the path to CMake home directory, bundled or custom.
Specify the path to the Make utility or use the one detected by CMake.
Specify the path to the desired C compiler or use the one detected by CMake.
Specify the path to the desired C++ compiler or use the one detected by CMake.
You can switch between the bundled GDB (currently v 8.0.1 for macOS, v 8.2 for Windows and Linux) and LLDB (version 6.0, only on macOS or Linux) or choose a custom GDB.