Skip to content

Refactor Visual Studio path retrieval and environment variable setup in build script#136

Open
ALIENQuake wants to merge 4 commits intoNVIDIAGameWorks:mainfrom
ALIENQuake:main
Open

Refactor Visual Studio path retrieval and environment variable setup in build script#136
ALIENQuake wants to merge 4 commits intoNVIDIAGameWorks:mainfrom
ALIENQuake:main

Conversation

@ALIENQuake
Copy link
Copy Markdown

Hey, I've noticed that the code can be improved. Hopefully changes aren't too big to be merged.

Copilot AI review requested due to automatic review settings April 11, 2026 11:26
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Refactors the Windows build helper script’s Visual Studio discovery and Visual Studio Command Prompt environment setup to support a wider VS version range and simplify vcvars initialization.

Changes:

  • Updates vswhere invocation to broaden the supported Visual Studio version range and adjust how the installation path is selected.
  • Reworks the vcvars environment-variable import to run vcvarsall.bat inline and parse cmd’s environment output.
  • Simplifies the “already configured” check for VS environment variables.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread build_common.ps1 Outdated
Comment thread build_common.ps1 Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants