vscode-cmake-tools
vscode-cmake-tools copied to clipboard
The CMake: Select a kit command does not work the first time you click on it.
Brief Issue Summary
Repro steps:
- Create a new folder named 'Test' and open it with vscode.
- Create a file named CMakeLists.txt with the following content:
cmake_minimum_required(VERSION 3.8)
project(Test)
add_executable(Test "main.cpp")
- Create a file named main.cpp with the following content:
#include <iostream>
int main(int argc, char **argv)
{
std::cout << "Hello World" << std::endl;
return 0;
}
- Run command: “CMake:configure”
- Run command: “CMake:Select a kit”
Actual results:
CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
No response
@v-frankwang COuld you output the CMake Log Diagnostics when creating an issue? This gives us more information to help diagnose. Also, what OS's does this reproduce on?
@gcampbell-msft Thank you very much for your reply, I will keep an eye on this issue when creating future issues :provide CMake Log Diagnostics . I verified this issue on previous releases and since CMake Tools: v1.19.20 (pre-release) this issue has not come back so I will close this issue!