windows: Fix VS project file issues

Fixes "project out of date" issue for wx_config on VS2017.
Fixes whole program optimisation possibly not being applied on release
builds for USBqemu (it may have been applied, but I can't actually tell,
and now it at least shows properly in the VS property editor).
This commit is contained in:
Jonathan Li 2017-03-07 19:47:54 +00:00
parent 91f805675b
commit ec7781f1f9
2 changed files with 1 additions and 2 deletions

View File

@ -51,7 +51,6 @@
<Message>Creating ..\..\$(PlatformName)\wx\msw\rcdefs.h</Message>
<Command>cl /EP /nologo "%(Identity)" &gt; "..\..\$(PlatformName)\wx\msw\rcdefs.h"</Command>
<Outputs>..\..\$(PlatformName)\wx\msw\rcdefs.h;%(Outputs)</Outputs>
<AdditionalInputs>..\..\$(PlatformName)\wx\msw;%(AdditionalInputs)</AdditionalInputs>
</CustomBuild>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

View File

@ -34,7 +34,7 @@
<ConfigurationType>DynamicLibrary</ConfigurationType>
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
<WholeProgramOptimization>$(Configuration.Contains(Release))</WholeProgramOptimization>
<WholeProgramOptimization Condition="$(Configuration.Contains(Release))">true</WholeProgramOptimization>
<UseDebugLibraries Condition="$(Configuration.Contains(Debug))">true</UseDebugLibraries>
<UseDebugLibraries Condition="!$(Configuration.Contains(Debug))">false</UseDebugLibraries>
</PropertyGroup>