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