When compilation of a project starts, the C/C++ builder calls the set of tools to generate all intermediate build files and the final build output. The use of a particular toolchain depends on the project type and on the selected build configuration.
To learn more about the build configurations, refer to Build configurations.