How to disable the tools chain and just use cmake?

I need to only use a cmake file for special builds. How do I shut all of that other stuff off, what appears to be a drop down to allow cmake decide is broken and repopulates with the default tools. I just want to only use our custom cmake file for the build when the green arrow is clicked, its usage will be: cmake . 

 

Also, need to shut of the GDB, we are building on remote targets and do not need gdb installed. Forcing the use of gdb is creating issues since we have to include it in the yocto builds. Really don't need it on the target, but if we do it would be nice to turn it back on.

0

Hello!

I need to only use a cmake file for special builds. How do I shut all of that other stuff off, what appears to be a drop down to allow cmake decide is broken and repopulates with the default tools. I just want to only use our custom cmake file for the build when the green arrow is clicked, its usage will be: cmake . 

I'm not sure I understand your use case. What toolchain (compilers and build tool) do you use to build the project outside CLion? Are they specified in your CMakeLists.txt? Or do you use CMAKE_TOOLCHAIN_FILE? 

Also, need to shut of the GDB, we are building on remote targets and do not need gdb installed.

Do you mean that you have the “Not found” warning in the toolchain settings (File | Settings | Build, Execution, Deployment | Toolchains)? There is no way to disable it, but you can simply ignore it if you don't use the debugging functionalities in CLion.

0

请先登录再写评论。