You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In environments where the cmake path points to a file that does not yet exist, installing cmake does not correct the issue requiring restaring VS Code to proceed.
An example is in projects where build dependencies are maintained through a local package manager such as conda. When the project is loaded, the path to cmake for the project is invalid. After installing the build dependencies, the vscode-cmake-tools extension does not attempt to use the newly installed cmake.
What is expected is that when attempting to use cmake an error due to the absence of the cmake executable should present a UI, and when the cmake executable is installed it should use this. The current implementation performs this check once, presumably to prevent multiple UI notifications of the cmake path error.
It would be preferable to try to run the cmake program each time to account for the possibility of the program being installed, and upon failure only present the error notification UI on the first failure.