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

Add support for VS 2019 #136

Merged
merged 1 commit into from
Jul 8, 2021
Merged

Add support for VS 2019 #136

merged 1 commit into from
Jul 8, 2021

Conversation

Taosenai
Copy link
Contributor

@Taosenai Taosenai commented Mar 1, 2020

Adds default support for building with Visual Studio 2019. Note that %VCToolsInstallDir%, referenced in the generated binding.gyp files, is only set by default in the "Developer Command Prompt for VS 2019."

Adds default support for building with Visual Studio 2019. Note that %VCToolsInstallDir%, referenced in the generated binding.gyp files, is only set by default in the "Developer Command Prompt for VS 2019."
@elan
Copy link

elan commented Mar 10, 2020

Possible this helps with #137?

@@ -51,7 +51,9 @@
"VCCLCompilerTool": {
"AdditionalUsingDirectories": [
"%ProgramFiles(x86)%/Microsoft Visual Studio 14.0/VC/lib/store/references",
"%ProgramFiles%/Microsoft Visual Studio 14.0/VC/lib/store/references"
"%ProgramFiles%/Microsoft Visual Studio 14.0/VC/lib/store/references",
"%ProgramFiles(x86)%/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/lib/x86/store/references",
Copy link

Choose a reason for hiding this comment

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

Isn't this path specific to VS Community version ? Enterprise and Professional version will have different path.

"%ProgramFiles%/Microsoft Visual Studio 14.0/VC/lib/store/references"
"%ProgramFiles%/Microsoft Visual Studio 14.0/VC/lib/store/references",
"%ProgramFiles(x86)%/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.24.28314/lib/x86/store/references",
"%VCToolsInstallDir%/lib/x86/store/references"
Copy link

Choose a reason for hiding this comment

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

Suggested change
"%VCToolsInstallDir%/lib/x86/store/references"
"$(VCToolsInstallDir)lib/x86/store/references"

I guess this will make build system resolve path, instead of depending on preconfigured environment.

MaySoMusician added a commit to MaySoMusician/NodeRT that referenced this pull request Dec 8, 2020
@felixrieseberg felixrieseberg merged commit 03f3955 into NodeRT:master Jul 8, 2021
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.

None yet

5 participants