After installing CMake Tools I choose a kit for my building (I have installed only GCC 10.2.1). List of kits is in fact just "cmake-tools-kits.json" file in CMake Tools directory, where pathes to compilers are defined. The question is: how does "CMake Tools" install the compiler for building in the project? As you can see on pictures there is no mention of a compiler in "CMakeLists.txt" file. How does it work? I want to build my project with CMake Tools as well as without it.
This is how the configuration command executed by CMake Tools looks like:
[cmakefileapi-driver] /usr/bin/cmake --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Release -H/home/user2/infotecs/App1/source -B/home/user2/infotecs/App1/source/build -G "Unix Makefiles"
And this is the build command that CMake Tools executes:
[main] /usr/bin/cmake --build /home/user2/infotecs/App1/source/build --config Release --target all -j 3 --


