MSBuild: We don't need WinPixEventRuntime in Release builds

This commit is contained in:
Stenzek 2023-12-18 16:37:28 +10:00
parent df08e122c3
commit 7829abc014
No known key found for this signature in database
2 changed files with 8 additions and 22 deletions

View file

@ -26,24 +26,18 @@
<ClCompile Include="cpu_newrec_compiler_x64.cpp"> <ClCompile Include="cpu_newrec_compiler_x64.cpp">
<ExcludedFromBuild Condition="'$(Platform)'!='x64'">true</ExcludedFromBuild> <ExcludedFromBuild Condition="'$(Platform)'!='x64'">true</ExcludedFromBuild>
</ClCompile> </ClCompile>
<ClCompile Include="cpu_recompiler_code_generator.cpp"> <ClCompile Include="cpu_recompiler_code_generator.cpp" />
<ExcludedFromBuild Condition="'$(Platform)'=='Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="cpu_recompiler_code_generator_aarch32.cpp"> <ClCompile Include="cpu_recompiler_code_generator_aarch32.cpp">
<ExcludedFromBuild Condition="'$(Platform)'!='ARM'">true</ExcludedFromBuild> <ExcludedFromBuild Condition="'$(Platform)'!='ARM'">true</ExcludedFromBuild>
</ClCompile> </ClCompile>
<ClCompile Include="cpu_recompiler_code_generator_aarch64.cpp"> <ClCompile Include="cpu_recompiler_code_generator_aarch64.cpp">
<ExcludedFromBuild Condition="'$(Platform)'!='ARM64'">true</ExcludedFromBuild> <ExcludedFromBuild Condition="'$(Platform)'!='ARM64'">true</ExcludedFromBuild>
</ClCompile> </ClCompile>
<ClCompile Include="cpu_recompiler_code_generator_generic.cpp"> <ClCompile Include="cpu_recompiler_code_generator_generic.cpp" />
<ExcludedFromBuild Condition="'$(Platform)'=='Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="cpu_recompiler_code_generator_x64.cpp"> <ClCompile Include="cpu_recompiler_code_generator_x64.cpp">
<ExcludedFromBuild Condition="'$(Platform)'!='x64'">true</ExcludedFromBuild> <ExcludedFromBuild Condition="'$(Platform)'!='x64'">true</ExcludedFromBuild>
</ClCompile> </ClCompile>
<ClCompile Include="cpu_recompiler_register_cache.cpp"> <ClCompile Include="cpu_recompiler_register_cache.cpp" />
<ExcludedFromBuild Condition="'$(Platform)'=='Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="cpu_types.cpp" /> <ClCompile Include="cpu_types.cpp" />
<ClCompile Include="digital_controller.cpp" /> <ClCompile Include="digital_controller.cpp" />
<ClCompile Include="fullscreen_ui.cpp" /> <ClCompile Include="fullscreen_ui.cpp" />
@ -117,18 +111,10 @@
<ClInclude Include="cpu_newrec_compiler_x64.h"> <ClInclude Include="cpu_newrec_compiler_x64.h">
<ExcludedFromBuild Condition="'$(Platform)'!='x64'">true</ExcludedFromBuild> <ExcludedFromBuild Condition="'$(Platform)'!='x64'">true</ExcludedFromBuild>
</ClInclude> </ClInclude>
<ClInclude Include="cpu_recompiler_code_generator.h"> <ClInclude Include="cpu_recompiler_code_generator.h" />
<ExcludedFromBuild Condition="'$(Platform)'=='Win32'">true</ExcludedFromBuild> <ClInclude Include="cpu_recompiler_register_cache.h" />
</ClInclude> <ClInclude Include="cpu_recompiler_thunks.h" />
<ClInclude Include="cpu_recompiler_register_cache.h"> <ClInclude Include="cpu_recompiler_types.h" />
<ExcludedFromBuild Condition="'$(Platform)'=='Win32'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="cpu_recompiler_thunks.h">
<ExcludedFromBuild Condition="'$(Platform)'=='Win32'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="cpu_recompiler_types.h">
<ExcludedFromBuild Condition="'$(Platform)'=='Win32'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="digital_controller.h" /> <ClInclude Include="digital_controller.h" />
<ClInclude Include="fullscreen_ui.h" /> <ClInclude Include="fullscreen_ui.h" />
<ClInclude Include="game_database.h" /> <ClInclude Include="game_database.h" />

View file

@ -21,5 +21,5 @@
</ItemDefinitionGroup> </ItemDefinitionGroup>
<Import Project="..\..\dep\msvc\vsprops\SDL2Compile.props" /> <Import Project="..\..\dep\msvc\vsprops\SDL2Compile.props" />
<Import Project="..\..\dep\winpixeventruntime\WinPixEventRuntime.props" /> <Import Condition="$(Configuration.Contains('Debug'))" Project="..\..\dep\winpixeventruntime\WinPixEventRuntime.props" />
</Project> </Project>