2022-07-08 12:43:38 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<Import Project="..\common\common.props" />
|
|
|
|
|
|
|
|
<ItemDefinitionGroup>
|
|
|
|
<ClCompile>
|
2022-08-10 04:33:20 +00:00
|
|
|
<PreprocessorDefinitions>%(PreprocessorDefinitions);SOUNDTOUCH_FLOAT_SAMPLES;SOUNDTOUCH_ALLOW_SSE;ST_NO_EXCEPTION_HANDLING=1</PreprocessorDefinitions>
|
2023-09-17 02:28:11 +00:00
|
|
|
<PreprocessorDefinitions>ENABLE_CUBEB=1;ENABLE_SDL2=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<PreprocessorDefinitions Condition="'$(Platform)'!='ARM64'">%(PreprocessorDefinitions);ENABLE_OPENGL=1;ENABLE_VULKAN=1</PreprocessorDefinitions>
|
2022-07-27 14:42:41 +00:00
|
|
|
<PreprocessorDefinitions Condition="'$(Platform)'=='ARM64'">%(PreprocessorDefinitions);SOUNDTOUCH_USE_NEON</PreprocessorDefinitions>
|
2024-03-24 04:07:32 +00:00
|
|
|
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(SolutionDir)dep\xxhash\include;$(SolutionDir)dep\soundtouch\include;$(SolutionDir)dep\imgui\include;$(SolutionDir)dep\simpleini\include;$(SolutionDir)dep\libchdr\include;$(SolutionDir)dep\cubeb\include;$(SolutionDir)dep\d3d12ma\include</AdditionalIncludeDirectories>
|
2023-08-13 03:42:02 +00:00
|
|
|
<AdditionalIncludeDirectories Condition="'$(Platform)'!='ARM64'">%(AdditionalIncludeDirectories);$(SolutionDir)dep\glad\include;$(SolutionDir)dep\vulkan\include;$(SolutionDir)dep\glslang</AdditionalIncludeDirectories>
|
2022-07-08 12:43:38 +00:00
|
|
|
</ClCompile>
|
|
|
|
</ItemDefinitionGroup>
|
2023-08-13 06:28:28 +00:00
|
|
|
|
|
|
|
<ItemDefinitionGroup>
|
|
|
|
<Link>
|
2023-11-06 09:59:02 +00:00
|
|
|
<AdditionalDependencies>%(AdditionalDependencies);d3d11.lib;d3d12.lib;d3dcompiler.lib;dxgi.lib;Dwmapi.lib;winhttp.lib</AdditionalDependencies>
|
2023-08-13 03:42:02 +00:00
|
|
|
<AdditionalDependencies Condition="'$(Platform)'!='ARM64'">%(AdditionalDependencies);opengl32.lib</AdditionalDependencies>
|
2023-08-13 06:28:28 +00:00
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
2023-12-18 06:37:28 +00:00
|
|
|
<Import Condition="$(Configuration.Contains('Debug'))" Project="..\..\dep\winpixeventruntime\WinPixEventRuntime.props" />
|
2024-03-24 04:07:32 +00:00
|
|
|
|
|
|
|
<!-- Dependency linking and DLL copying -->
|
|
|
|
<ItemDefinitionGroup>
|
|
|
|
<ClCompile>
|
|
|
|
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(DepsIncludeDir)SDL2</AdditionalIncludeDirectories>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<AdditionalDependencies>%(AdditionalDependencies);libjpeg.lib;libpng16.lib;libwebp.lib;SDL2.lib;zlib.lib;zstd.lib</AdditionalDependencies>
|
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemGroup>
|
2024-04-04 07:18:33 +00:00
|
|
|
<DepsDLLs Include="$(DepsBinDir)freetype.dll" />
|
|
|
|
<DepsDLLs Include="$(DepsBinDir)harfbuzz.dll" />
|
2024-03-24 04:07:32 +00:00
|
|
|
<DepsDLLs Include="$(DepsBinDir)libjpeg.dll" />
|
|
|
|
<DepsDLLs Include="$(DepsBinDir)libpng16.dll" />
|
|
|
|
<DepsDLLs Include="$(DepsBinDir)libsharpyuv.dll" />
|
|
|
|
<DepsDLLs Include="$(DepsBinDir)libwebp.dll" />
|
|
|
|
<DepsDLLs Include="$(DepsBinDir)SDL2.dll" />
|
|
|
|
<DepsDLLs Include="$(DepsBinDir)zlib1.dll" />
|
|
|
|
<DepsDLLs Include="$(DepsBinDir)zstd.dll" />
|
|
|
|
</ItemGroup>
|
|
|
|
<Target Name="DepsCopyDLLs"
|
|
|
|
AfterTargets="Build"
|
|
|
|
Inputs="@(DepsDLLs)"
|
|
|
|
Outputs="@(DepsDLLs -> '$(OutDir)%(RecursiveDir)%(Filename)%(Extension)')">
|
|
|
|
<Message Text="Copying Dependency DLLs" Importance="High" />
|
|
|
|
<Copy
|
|
|
|
SourceFiles="@(DepsDLLs)"
|
|
|
|
DestinationFolder="$(OutDir)"
|
|
|
|
SkipUnchangedFiles="true"
|
|
|
|
/>
|
|
|
|
</Target>
|
2022-07-08 12:43:38 +00:00
|
|
|
</Project>
|