-
Notifications
You must be signed in to change notification settings - Fork 0
/
modern_win32_vc143_spectre_md.targets
executable file
·40 lines (37 loc) · 1.96 KB
/
modern_win32_vc143_spectre_md.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="utf-8"?>
<Project ToolVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(MSBuildThisFileDirectory)..\lib\native\include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
<Link>
<AdditionalDependencies>$(MSBuildThisFileDirectory)..\lib\native\x64\modern_win32_vc143_spectre_mdd.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)'!='Debug'">
<Link>
<AdditionalDependencies>$(MSBuildThisFileDirectory)..\lib\native\x64\modern_win32_vc143_spectre_md.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<Target Name="ModernWin32PostDebugBuildEvent" AfterTargets="Link" Condition="'$(Configuration)'=='Debug'">
<PropertyGroup>
<ModernWin32PostDebugBuildEventCommand>
xcopy /yfhrd "$(MSBuildThisFileDirectory)..\lib\native\x64\*_mdd.dll" "$(OutDir)"
xcopy /yfhrd "$(MSBuildThisFileDirectory)..\lib\native\x64\*_mdd.pdb" "$(OutDir)"
</ModernWin32PostDebugBuildEventCommand>
</PropertyGroup>
<Exec Command="$(ModernWin32PostDebugBuildEventCommand)" />
</Target>
<Target Name="ModernWin32PostReleaseBuildEvent" AfterTargets="Link" Condition="'$(Configuration)'!='Debug'">
<PropertyGroup>
<ModernWin32PostReleaseBuildEventCommand>
xcopy /yfhrd "$(MSBuildThisFileDirectory)..\lib\native\x64\*_md.dll" "$(OutDir)"
xcopy /yfhrd "$(MSBuildThisFileDirectory)..\lib\native\x64\*_md.pdb" "$(OutDir)"
</ModernWin32PostReleaseBuildEventCommand>
</PropertyGroup>
<Exec Command="$(ModernWin32PostReleaseBuildEventCommand)" />
</Target>
</Project>