blob: 257cc857d0ec661215987196c317b41327eae5d1 [file] [log] [blame]
Steve Dower68d663c2017-07-17 11:15:48 +02001<?xml version="1.0" encoding="utf-8"?>
Steve Dower65e4cb12014-11-22 12:54:57 -08002<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
Steve Dower65e4cb12014-11-22 12:54:57 -08003 <ItemDefinitionGroup>
4 <ClCompile>
Steve Dower68d663c2017-07-17 11:15:48 +02005 <AdditionalIncludeDirectories>$(opensslIncludeDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Steve Dower65e4cb12014-11-22 12:54:57 -08006 </ClCompile>
Steve Dower68d663c2017-07-17 11:15:48 +02007 <Link>
8 <AdditionalLibraryDirectories>$(opensslOutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
Steve Dowerb84bcc42017-09-09 06:13:06 -07009 <AdditionalDependencies>ws2_32.lib;libcrypto.lib;libssl.lib;%(AdditionalDependencies)</AdditionalDependencies>
Steve Dower68d663c2017-07-17 11:15:48 +020010 </Link>
Steve Dower65e4cb12014-11-22 12:54:57 -080011 </ItemDefinitionGroup>
Steve Dowerb84bcc42017-09-09 06:13:06 -070012 <PropertyGroup>
13 <_DLLSuffix>-1_1</_DLLSuffix>
14 <_DLLSuffix Condition="$(Platform) == 'x64'">$(_DLLSuffix)-x64</_DLLSuffix>
15 </PropertyGroup>
Steve Dower68d663c2017-07-17 11:15:48 +020016 <ItemGroup>
Steve Dowerb84bcc42017-09-09 06:13:06 -070017 <_SSLDLL Include="$(opensslOutDir)\libcrypto$(_DLLSuffix).dll" />
18 <_SSLDLL Include="$(opensslOutDir)\libcrypto$(_DLLSuffix).pdb" />
19 <_SSLDLL Include="$(opensslOutDir)\libssl$(_DLLSuffix).dll" />
20 <_SSLDLL Include="$(opensslOutDir)\libssl$(_DLLSuffix).pdb" />
Steve Dower68d663c2017-07-17 11:15:48 +020021 </ItemGroup>
22 <Target Name="_CopySSLDLL" Inputs="@(_SSLDLL)" Outputs="@(_SSLDLL->'$(OutDir)%(Filename)%(Extension)')" AfterTargets="Build">
23 <Copy SourceFiles="@(_SSLDLL)" DestinationFolder="$(OutDir)" />
Steve Dower65e4cb12014-11-22 12:54:57 -080024 </Target>
Steve Dower68d663c2017-07-17 11:15:48 +020025 <Target Name="_CleanSSLDLL" BeforeTargets="Clean">
26 <Delete Files="@(_SSLDLL->'$(OutDir)%(Filename)%(Extension)')" />
Steve Dower65e4cb12014-11-22 12:54:57 -080027 </Target>
Steve Dower68d663c2017-07-17 11:15:48 +020028</Project>