-
Notifications
You must be signed in to change notification settings - Fork 27
/
libewf.targets
38 lines (34 loc) · 1.68 KB
/
libewf.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
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- general -->
<ItemDefinitionGroup Condition="'$(Platform)' == 'x64'">
<ClCompile>
<AdditionalIncludeDirectories>$(MSBuildThisFileDirectory)include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<AdditionalLibraryDirectories>$(MSBuildThisFileDirectory)msvscpp\x64\Release;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Platform)' == 'win32'">
<ClCompile>
<AdditionalIncludeDirectories>$(MSBuildThisFileDirectory)include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link Condition="'$(Platform)' == 'win32'">
<AdditionalLibraryDirectories>$(MSBuildThisFileDirectory)msvscpp\Release;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<!-- static libraries -->
<ItemDefinitionGroup>
<Link>
<AdditionalDependencies>libewf.lib;zlib.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<LibEwfDlls Include="$(MSBuildThisFileDirectory)\msvscpp\x64\Release\*.dll" Condition="'$(Platform)' == 'x64'"/>
<LibEwfDlls Include="$(MSBuildThisFileDirectory)\msvscpp\Release\*.dll" Condition="'$(Platform)' == 'Win32'"/>
</ItemGroup>
<!-- dynamic libraries -->
<Target Name="libewf_AfterBuild" AfterTargets="AfterBuild">
<Copy SourceFiles="@(LibEwfDlls)" DestinationFolder="$(TargetDir)" SkipUnchangedFiles="true" />
</Target>
</Project>