2017-07-17 11:15:48 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2014-11-22 21:54:57 +01:00
|
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<ItemDefinitionGroup>
|
|
|
|
<ClCompile>
|
2017-07-17 11:15:48 +02:00
|
|
|
<AdditionalIncludeDirectories>$(opensslIncludeDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
2014-11-22 21:54:57 +01:00
|
|
|
</ClCompile>
|
2017-07-17 11:15:48 +02:00
|
|
|
<Link>
|
|
|
|
<AdditionalLibraryDirectories>$(opensslOutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
2017-09-09 15:13:06 +02:00
|
|
|
<AdditionalDependencies>ws2_32.lib;libcrypto.lib;libssl.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
2017-07-17 11:15:48 +02:00
|
|
|
</Link>
|
2014-11-22 21:54:57 +01:00
|
|
|
</ItemDefinitionGroup>
|
2017-09-09 15:13:06 +02:00
|
|
|
<PropertyGroup>
|
2023-07-12 14:46:30 +02:00
|
|
|
<_DLLSuffix>-3</_DLLSuffix>
|
2019-05-16 00:38:55 +02:00
|
|
|
<_DLLSuffix Condition="$(Platform) == 'ARM'">$(_DLLSuffix)-arm</_DLLSuffix>
|
|
|
|
<_DLLSuffix Condition="$(Platform) == 'ARM64'">$(_DLLSuffix)-arm64</_DLLSuffix>
|
2023-07-12 14:46:30 +02:00
|
|
|
<OpenSSLDLLSuffix Condition="$(OpenSSLDLLSuffix) == ''">$(_DLLSuffix)</OpenSSLDLLSuffix>
|
2017-09-09 15:13:06 +02:00
|
|
|
</PropertyGroup>
|
2017-07-17 11:15:48 +02:00
|
|
|
<ItemGroup>
|
2017-09-09 15:13:06 +02:00
|
|
|
<_SSLDLL Include="$(opensslOutDir)\libcrypto$(_DLLSuffix).dll" />
|
|
|
|
<_SSLDLL Include="$(opensslOutDir)\libcrypto$(_DLLSuffix).pdb" />
|
|
|
|
<_SSLDLL Include="$(opensslOutDir)\libssl$(_DLLSuffix).dll" />
|
|
|
|
<_SSLDLL Include="$(opensslOutDir)\libssl$(_DLLSuffix).pdb" />
|
2017-07-17 11:15:48 +02:00
|
|
|
</ItemGroup>
|
2022-01-28 17:48:06 +01:00
|
|
|
<Target Name="_CopySSLDLL"
|
|
|
|
Inputs="@(_SSLDLL)"
|
|
|
|
Outputs="@(_SSLDLL->'$(OutDir)%(Filename)%(Extension)')"
|
|
|
|
Condition="$(SkipCopySSLDLL) == ''"
|
|
|
|
AfterTargets="Build">
|
2017-07-17 11:15:48 +02:00
|
|
|
<Copy SourceFiles="@(_SSLDLL)" DestinationFolder="$(OutDir)" />
|
2014-11-22 21:54:57 +01:00
|
|
|
</Target>
|
2022-01-28 17:48:06 +01:00
|
|
|
<Target Name="_CleanSSLDLL" Condition="$(SkipCopySSLDLL) == ''" BeforeTargets="Clean">
|
2019-03-07 18:09:15 +01:00
|
|
|
<Delete Files="@(_SSLDLL->'$(OutDir)%(Filename)%(Extension)')" TreatErrorsAsWarnings="true" />
|
2014-11-22 21:54:57 +01:00
|
|
|
</Target>
|
2023-01-11 18:28:57 +01:00
|
|
|
</Project>
|