Skip to content

DIA SDK lookup fixes#3179

Merged
hekota merged 1 commit intomicrosoft:masterfrom
hekota:vs2019-diasdk-fix
Oct 5, 2020
Merged

DIA SDK lookup fixes#3179
hekota merged 1 commit intomicrosoft:masterfrom
hekota:vs2019-diasdk-fix

Conversation

@hekota
Copy link
Copy Markdown
Member

@hekota hekota commented Oct 2, 2020

  • Build platform is not included generator string for VS2019; use CMAKE_GENERATOR_PLATFORM instead
  • Use release version of VS by default

- Build platform is not included generator string for VS2019; use CMAKE_GENERATOR_PLATFORM instead
- Use release version of VS by default
@hekota hekota requested a review from pow2clk October 2, 2020 19:53
Copy link
Copy Markdown
Collaborator

@pow2clk pow2clk left a comment

Choose a reason for hiding this comment

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

Looks reasonable! Weird how vs2019 split things up like this.

set(PROGRAMFILES_X86 "ProgramFiles(x86)")
execute_process(
COMMAND "$ENV{${PROGRAMFILES_X86}}/Microsoft Visual Studio/Installer/vswhere.exe" -latest -prerelease -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath
COMMAND "$ENV{${PROGRAMFILES_X86}}/Microsoft Visual Studio/Installer/vswhere.exe" -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Am I correct that this is the part the corresponds to "Use release version of VS by default"?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Correct.

@hekota
Copy link
Copy Markdown
Member Author

hekota commented Oct 2, 2020

Yes, but it is a step in the right direction to not have the platform included in the generator string.

@AppVeyorBot
Copy link
Copy Markdown

@hekota hekota merged commit b3d9c8a into microsoft:master Oct 5, 2020
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.

3 participants