mirror of https://github.com/PCSX2/pcsx2.git
38 lines
1.8 KiB
Plaintext
38 lines
1.8 KiB
Plaintext
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||
|
<PropertyGroup Label="UserMacros">
|
||
|
<BinaryOutputDir>$(SolutionDir)bin\</BinaryOutputDir>
|
||
|
<WinPixEventRuntimeDir>$(SolutionDir)3rdparty\winpixeventruntime\</WinPixEventRuntimeDir>
|
||
|
</PropertyGroup>
|
||
|
<ItemDefinitionGroup>
|
||
|
<ClCompile>
|
||
|
<AdditionalIncludeDirectories>$(WinPixEventRuntimeDir)include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||
|
</ClCompile>
|
||
|
<Link Condition="'$(Platform)'=='x64'">
|
||
|
<AdditionalLibraryDirectories>$(WinPixEventRuntimeDir)lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||
|
<AdditionalDependencies>WinPixEventRuntime.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||
|
</Link>
|
||
|
<Lib Condition="'$(Platform)'=='x64'">
|
||
|
<AdditionalLibraryDirectories>$(WinPixEventRuntimeDir)lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||
|
<AdditionalDependencies>WinPixEventRuntime.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||
|
</Lib>
|
||
|
</ItemDefinitionGroup>
|
||
|
|
||
|
<!--Copy the needed dlls-->
|
||
|
<ItemGroup>
|
||
|
<WinPixEventRuntimeDlls Condition="'$(Platform)'=='x64'" Include="$(WinPixEventRuntimeDir)bin\WinPixEventRuntime.dll" />
|
||
|
</ItemGroup>
|
||
|
<Target Name="WinPixEventRuntimeCopyBinaries"
|
||
|
AfterTargets="Build"
|
||
|
Condition="'$(Platform)'=='x64'"
|
||
|
Inputs="@(WinPixEventRuntimeDlls)"
|
||
|
Outputs="@(WinPixEventRuntimeDlls -> '$(BinaryOutputDir)%(RecursiveDir)%(Filename)%(Extension)')">
|
||
|
<Message Text="Copying WinPixEventRuntime .dlls" Importance="High" />
|
||
|
<Copy
|
||
|
SourceFiles="@(WinPixEventRuntimeDlls)"
|
||
|
DestinationFolder="$(BinaryOutputDir)"
|
||
|
SkipUnchangedFiles="true"
|
||
|
/>
|
||
|
</Target>
|
||
|
</Project>
|