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