Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show configure commands executes the command #3381

Closed
AbdullahAmrSobh opened this issue Oct 12, 2023 · 2 comments
Closed

Show configure commands executes the command #3381

AbdullahAmrSobh opened this issue Oct 12, 2023 · 2 comments
Assignees
Labels
bug a bug in the product Feature: configure
Milestone

Comments

@AbdullahAmrSobh
Copy link
Contributor

AbdullahAmrSobh commented Oct 12, 2023

Brief Issue Summary

When you open VSCode command prompt, and run CMake: Show configure command it executes the configure command

CMake Tools Diagnostics

{
  "os": "win32",
  "vscodeVersion": "1.83.1",
  "cmtVersion": "1.15.31",
  "configurations": [
    {
      "folder": "i:\\repos\\Alib",
      "cmakeVersion": "3.27.0",
      "configured": true,
      "generator": "Ninja",
      "usesPresets": false,
      "compilers": {
        "C": "C:/Program Files/LLVM/bin/clang.exe",
        "CXX": "C:/Program Files/LLVM/bin/clang++.exe"
      }
    }
  ],
  "cpptoolsIntegration": {
    "isReady": false,
    "hasCodeModel": false,
    "activeBuildType": "",
    "buildTypesSeen": [],
    "requests": [],
    "responses": [],
    "partialMatches": [],
    "targetCount": 0,
    "executablesCount": 0,
    "librariesCount": 0,
    "targets": []
  },
  "settings": [
    {
      "communicationMode": "automatic",
      "useCMakePresets": "auto",
      "configureOnOpen": true
    }
  ]
}

Debug Log

[main] Building folder: Alib 
[main] Saving open files before configure/build
[build] Starting build
[driver] Start build all
[proc] Executing command: chcp
[proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" --build i:/repos/Alib/build --config Debug --target all --
[proc]   with environment: {"ALLUSERSPROFILE":"C:\\ProgramData","APPDATA":"C:\\Users\\abdul\\AppData\\Roaming","APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL":"1","CHROME_CRASHPAD_PIPE_NAME":"\\\\.\\pipe\\crashpad_26184_ASLYJXXHGXZNNTOZ","COMPUTERNAME":"ABDULLAH","CPLUS_INCLUDE_PATH":"C:\\Users\\abdul\\scoop\\apps\\gcc\\current\\include","CPM_SOURCE_CACHE":"I:\\.cpm_cache","C_INCLUDE_PATH":"C:\\Users\\abdul\\scoop\\apps\\gcc\\current\\include","ChocolateyInstall":"C:\\ProgramData\\chocolatey","ChocolateyLastPathUpdate":"133416092918509060","ComSpec":"C:\\Windows\\system32\\cmd.exe","CommonProgramFiles":"C:\\Program Files\\Common Files","CommonProgramFiles(x86)":"C:\\Program Files (x86)\\Common Files","CommonProgramW6432":"C:\\Program Files\\Common Files","DriverData":"C:\\Windows\\System32\\Drivers\\DriverData","EFC_8084":"1","ELECTRON_RUN_AS_NODE":"1","GOPATH":"C:\\Users\\abdul\\go","HOMEDRIVE":"C:","HOMEPATH":"\\Users\\abdul","LOCALAPPDATA":"C:\\Users\\abdul\\AppData\\Local","LOGONSERVER":"\\\\ABDULLAH","NUMBER_OF_PROCESSORS":"12","ORIGINAL_XDG_CURRENT_DESKTOP":"undefined","OS":"Windows_NT","OneDrive":"C:\\Users\\abdul\\OneDrive","OneDriveConsumer":"C:\\Users\\abdul\\OneDrive","PATHEXT":".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC","PROCESSOR_ARCHITECTURE":"AMD64","PROCESSOR_IDENTIFIER":"Intel64 Family 6 Model 151 Stepping 2, GenuineIntel","PROCESSOR_LEVEL":"6","PROCESSOR_REVISION":"9702","PSModulePath":"C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules","PUBLIC":"C:\\Users\\Public","Path":"C:\\VulkanSDK\\1.3.250.0\\Bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\CMake\\bin;C:\\Program Files\\nodejs\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Microsoft SQL Server\\150\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\170\\Tools\\Binn\\;C:\\Program Files\\dotnet\\;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\Go\\bin;C:\\Program Files\\Cloudflare\\Cloudflare WARP\\;C:\\Program Files\\LLVM\\bin;C:\\Users\\abdul\\scoop\\apps\\python\\current\\Scripts;C:\\Users\\abdul\\scoop\\apps\\python\\current;C:\\Users\\abdul\\scoop\\apps\\mingw\\current\\bin;C:\\Users\\abdul\\scoop\\apps\\gcc\\current\\bin;C:\\Users\\abdul\\scoop\\shims;C:\\Users\\abdul\\.cargo\\bin;C:\\Users\\abdul\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\;C:\\Users\\abdul\\AppData\\Local\\Programs\\Python\\Python311\\;C:\\Users\\abdul\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\abdul\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\abdul\\AppData\\Roaming\\npm;C:\\Users\\abdul\\.dotnet\\tools;C:\\Users\\abdul\\AppData\\Local\\gitkraken\\bin;C:\\Program Files\\Neovim\\bin;C:\\Program Files\\TortoiseSVN\\bin;C:\\Qt\\6.5.2\\msvc2019_64\\bin;I:\\atomica\\vcpkg;C:\\Users\\abdul\\go\\bin;C:\\Users\\abdul\\AppData\\Local\\Microsoft\\WinGet\\Packages\\Ninja-build.Ninja_Microsoft.Winget.Source_8wekyb3d8bbwe;;C:\\Program Files\\LLVM\\bin","ProgramData":"C:\\ProgramData","ProgramFiles":"C:\\Program Files","ProgramFiles(x86)":"C:\\Program Files (x86)","ProgramW6432":"C:\\Program Files","SESSIONNAME":"Console","SystemDrive":"C:","SystemRoot":"C:\\Windows","TEMP":"C:\\Users\\abdul\\AppData\\Local\\Temp","TMP":"C:\\Users\\abdul\\AppData\\Local\\Temp","USERDOMAIN":"ABDULLAH","USERDOMAIN_ROAMINGPROFILE":"ABDULLAH","USERNAME":"abdul","USERPROFILE":"C:\\Users\\abdul","VK_SDK_PATH":"C:\\VulkanSDK\\1.3.250.0","VSCODE_AMD_ENTRYPOINT":"vs/workbench/api/node/extensionHostProcess","VSCODE_CODE_CACHE_PATH":"C:\\Users\\abdul\\AppData\\Roaming\\Code\\CachedData\\f1b07bd25dfad64b0167beb15359ae573aecd2cc","VSCODE_CRASH_REPORTER_PROCESS_TYPE":"extensionHost","VSCODE_CWD":"I:\\repos\\Alib","VSCODE_HANDLES_UNCAUGHT_ERRORS":"true","VSCODE_IPC_HOOK":"\\\\.\\pipe\\de5befacfecc37639fe5f4e3450c7511-1.83.1-main-sock","VSCODE_L10N_BUNDLE_LOCATION":"","VSCODE_NLS_CONFIG":"{\"locale\":\"en-us\",\"osLocale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}","VSCODE_PID":"26184","VULKAN_SDK":"C:\\VulkanSDK\\1.3.250.0","windir":"C:\\Windows","NINJA_STATUS":"[%s/%t %p :: %e] "}
[build] [1/2  50% :: 0.320] Building CXX object CMakeFiles/Lib.dir/Lib.cpp.obj
[build] [2/2 100% :: 0.410] Linking CXX static library Lib.lib
[driver] Build completed: 00:00:00.501
[cmakefileapi-parser] Read reply folder: i:\repos\Alib\build\.cmake\api\v1\reply
[cmakefileapi-parser] Found index files: ["cache-v2-f8d84779b03e09a02d1f.json","cmakeFiles-v1-b5d810e40c19e04cb28b.json","codemodel-v2-b124249d1544ea3a015f.json","directory-.-Debug-d0094a50bb2071803777.json","index-2023-10-12T20-15-02-0557.json","target-Continuous-Debug-0b16d4cfbe140b27c667.json","target-ContinuousBuild-Debug-71d2c4229eda743566f1.json","target-ContinuousConfigure-Debug-150ec0dbab83d5723d13.json","target-ContinuousCoverage-Debug-cc4d9928662388789274.json","target-ContinuousMemCheck-Debug-246c675378ddfcf46cbc.json","target-ContinuousStart-Debug-57d06798fd059608c7eb.json","target-ContinuousSubmit-Debug-0ec5b4b92864f09c24fe.json","target-ContinuousTest-Debug-6c3fb6789684bc981e71.json","target-ContinuousUpdate-Debug-8d393556981654dba2d3.json","target-Experimental-Debug-4af0d68a4fe46e2f7892.json","target-ExperimentalBuild-Debug-27a750dcb990796b09e8.json","target-ExperimentalConfigure-Debug-7723a1c230e22a6e44c9.json","target-ExperimentalCoverage-Debug-39ee3452da9b61f643c9.json","target-ExperimentalMemCheck-Debug-8b23a9f0f37f7947178c.json","target-ExperimentalStart-Debug-95deebc5c4b97bbb6792.json","target-ExperimentalSubmit-Debug-5c537dbace7a55dbddd6.json","target-ExperimentalTest-Debug-2a643ce8ea6d416ead07.json","target-ExperimentalUpdate-Debug-9ea6eff3f6709e2614a0.json","target-Lib-Debug-fe503cac3aa161059a2a.json","target-Nightly-Debug-87584a77d26de93b835a.json","target-NightlyBuild-Debug-a3e2016782a96486735a.json","target-NightlyConfigure-Debug-c2b42aeaf970f7f10fec.json","target-NightlyCoverage-Debug-c22d1188096ab09f62f7.json","target-NightlyMemCheck-Debug-6a083dfa9aaafee7f6fd.json","target-NightlyMemoryCheck-Debug-21d314ec86fe2923f438.json","target-NightlyStart-Debug-ac710eae63fad0f16be0.json","target-NightlySubmit-Debug-1ebc35831bb159afc134.json","target-NightlyTest-Debug-6b13f71a093217ef4c0d.json","target-NightlyUpdate-Debug-8b2f876f60c173040dcf.json","toolchains-v1-9c2d94025fb656a1a3f9.json"]
[extension] Not updating the configuration provider because "C_Cpp.intelliSenseEngine" is set to "Disabled"
[build] Build finished with exit code 0
[extension] [9691] cmake.build finished (returned 0)

Additional Information

No response

@gcampbell-msft gcampbell-msft added bug a bug in the product Feature: configure investigation needed issues needs a developer assigned to it and investigation done in order to implement a fix and removed triage labels Oct 13, 2023
@gcampbell-msft gcampbell-msft added this to the On Deck milestone Oct 13, 2023
@AbdullahAmrSobh
Copy link
Contributor Author

I would like to submit a fix for this issue, can someone assign this to me?

@benmcmorran benmcmorran modified the milestones: On Deck, 1.16 Oct 16, 2023
@benmcmorran benmcmorran added fixed (release pending) and removed investigation needed issues needs a developer assigned to it and investigation done in order to implement a fix labels Oct 16, 2023
Copy link

🎉 This issue has now been fixed and is now available in the latest release! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug a bug in the product Feature: configure
Projects
None yet
Development

No branches or pull requests

3 participants