How to use different compilers for each projects
已回答
I'd like to use MinGW for Project1.
And I'd like to use Cygwin for Project2.
And I'd like to use MS C++ for Project3.
But, if I set MinGW as a default compiler, all projects use MinGW.
If I change default compiler to Cygwin, all other projects are compiled by Cygwin.
How to assign different compilers(toolchains) to each projects?
请先登录再写评论。
Hello! You can do it using CMake profile - in CLion all the settings required for building a project are incorporated in it. These settings are projects-related, so when you specify a toolchain in File | Settings | Build, Execution, Deployment | CMake, this change applies only for the current project. More info: https://www.jetbrains.com/help/clion/configuring-cmake.html#CMProfile.