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