-
Notifications
You must be signed in to change notification settings - Fork 68
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
Conversation
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."
|
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", | |||
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "%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.
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."