Open kazuhiro-nishimura opened 10 months ago
It could use similar conditions as files installed with VS, couldn't it?
<RuntimeLibrary Condition="'$(UseDebugLibraries)' != 'true'">MultiThreadedDll</RuntimeLibrary>
<RuntimeLibrary Condition="'$(UseDebugLibraries)' == 'true'">MultiThreadedDebugDll</RuntimeLibrary>
I wish it would support project configurations other than Debug and Release with the NuGet package. It would be better if it does not look the configuration name but the project properties to switch the linked libraries.
https://github.com/csoltenborn/GoogleTestAdapter/blob/d619bf84730eb33d13b11db4e07facd45dc18ee0/GoogleTestNuGet/googletest.targets.tt#L18-L27