Closed v-frankwang closed 3 weeks ago
ENV: CMake Tools: v1.19.35(pre-release) vscode: 1.91.1 C/C++ extension: v1.21.5
Repro steps:
cmake_minimum_required(VERSION 3.5) project(Test) add_executable(Test main.cpp)
#include <iostream> auto main() -> int { std::cout << "Helloworld" << std::endl; }
Actual result:
Linux:
Mac:
{ "os": "linux", "vscodeVersion": "1.91.1", "cmtVersion": "1.19.35", "configurations": [ { "folder": "/home/test/Desktop/v-frankwang/test", "cmakeVersion": "3.30.2", "configured": true, "generator": "Ninja", "usesPresets": false, "compilers": { "C": "/usr/bin/gcc", "CXX": "/usr/bin/g++" } } ], "cpptoolsIntegration": { "isReady": true, "hasCodeModel": true, "activeBuildType": "Debug", "buildTypesSeen": [ "Debug" ], "requests": [ "file:///home/test/Desktop/v-frankwang/test/main.cpp" ], "responses": [ { "uri": "file:///home/test/Desktop/v-frankwang/test/main.cpp", "configuration": { "includePath": [], "defines": [], "compilerPath": "/usr/bin/g++", "compilerArgs": [], "compilerFragments": [ "-g" ] } } ], "partialMatches": [], "targetCount": 1, "executablesCount": 1, "librariesCount": 0, "targets": [ { "name": "Test", "type": "EXECUTABLE" } ] }, "settings": [ { "communicationMode": "automatic", "useCMakePresets": "auto", "configureOnOpen": true } ] }
No response
Closing this due to lower priority.
Brief Issue Summary
ENV: CMake Tools: v1.19.35(pre-release) vscode: 1.91.1 C/C++ extension: v1.21.5
Repro steps:
Actual result:
Linux:
Mac:
CMake Tools Diagnostics
Debug Log
No response
Additional Information
No response