CLion default toolchain in Setting Menu
已回答
Hello to All
As we know cmake can accept toolchain by -DCMAKE_TOOLCHAIN_FILE option in command line. so I specify all toolchain configuration in my own "toolchain.cmake" file and set it in "FILE->Setting->Buil,....->CMake" CLion menu, but I don't know why I have to set the default Toolchains setting in "File->Build,Execution, Development->Toolchains" ? CLion force me to set this configuration even I set my own toolchain. how can I tell CLion that I don't use the default Toolchain setting?
请先登录再写评论。
Hi, Hadi.
The settings from CMAKE_TOOLCHAIN_FILE override the CLion's toolchain options, so you can use the default one. It's intended to be used when you don't have a dedicated toolchain file.