-
Notifications
You must be signed in to change notification settings - Fork 44
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
Change the conditions to switch the Google Test libraries to link #242
base: dev17
Are you sure you want to change the base?
Conversation
This patch is not tested yet. I have a problem with building on VS2022. |
https://pkgs.dev.azure.com/devdiv/DevDiv/_packaging/vc-test-adapters/nuget/v3/index.json is not accessible. I hope this change has no problems for review. |
@@ -16,28 +16,28 @@ | |||
</ItemGroup> | |||
<ItemDefinitionGroup Condition="'$(Disable-<#= PackageNameDashes #>)' == ''"> | |||
<Link> | |||
<AdditionalDependencies Condition="'$(Configuration)' == 'Debug' And '$(Platform)' == 'x64'">$(MSBuildThisFileDirectory)..\..\\<#= PathToBinaries #>\x64\Debug\gtestd.lib;%(AdditionalDependencies)</AdditionalDependencies> |
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.
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.
Thank you for testing
d78b316
to
70bea77
Compare
This patch tries to change the conditions to switch the Google Test libraries to link by using the 'Use Debug Libraries' setting of the configuration. This will make it possible to have multiple Debug configurations.