How to properly configure CMake Tools in VsCode on MacOS?
1
vote
1
answer
5205
views
When I configure CMake Tools extension on Windows or Linux, the end result looks something like this:
This allows the user to quickly switch build type and executables (targets) to build, debug or run. It also allows you to quickly switch between different compilers (not that I use this often but it is nevertheless neat).
On MacOS, however, the situation is different. No matter how I try and which How-To articles I follow I can't get that bottom pannel to display that information:
On all of the systems I have C++ compilers, Cmake and VsCode installed. I also have VsCode CMake and Cmake Tools extensions installed in VsCode and I assumed it should be enough for MacOS too but I clearly was wrong.
On MacOS I have cloned my project, opened it with VsCode, configured it via CMake extension, and selected a kit (compiler) but the bottom ribbon still looks the same and I don't understand how to make CMake-Tools-specific functionality appear. I can press


cmd+shift+P
, start typing "Cmake:..." and receive the list of commands to control the CMake flow but it is less convenient than simply having a ribbon at the bottom of the screen which allows me to change the configuration in only a few clicks.
Does someone know what am I missing here?
I have MacBook Pro Apple M1 13-inch 2020 with macOS Ventura 13.4.1
Don't suggest using XCode for development on macOS, please.
Asked by a_girl
(175 rep)
Jul 21, 2023, 10:34 AM
Last activity: Jul 24, 2023, 04:07 PM
Last activity: Jul 24, 2023, 04:07 PM