Toolchains
You can use the Toolchains function to quickly configure local build of a C/C++ project. The GCC and LLVM build tools are supported.
A project runs remotely or locally based on the toolchain configuration used during build. (For example, if the local toolchain configuration is used during build, the project runs locally by default.)
Local Build Configuration
- Choose .
In the navigation bar on the left, choose to enter the page shown in Figure 1.
- Click + to add the Toolchains configuration option.
- On Linux, configure the toolchain to System, as shown in Figure 2.
- For details about how to configure the LLVM toolchain on Linux, see Figure 3.
Table 1 Parameters and icons Parameter/Icon
Description
Name
Toolchains configuration name.
Environment
MinGW path. The value can be automatically identified after the environment variable is configured. You can also manually enter the path or click
on the right to configure a path.NOTE:This option is unavailable in Linux.
Cmake
CMake path on the local server. You can manually enter a path or click
on the right to configure a path.Make
Make path on the local server. You can manually enter a path or click
on the right to configure a path.C Compiler
C Compiler path on the local server. You can manually enter a path or click
on the right to configure a path.C++ Compiler
C++ Compiler path on the local server. You can manually enter a path or click
on the right to configure a path.Debugger
Debugger path on the local server. You can manually enter a path or click
on the right to configure a path.
Adds a toolchain configuration.

Deletes a toolchain. Select a toolchain and click this button to delete it.
After the toolchain takes effect, a piece of information is automatically generated under in the navigation bar on the left for build configuration.


