diff options
Diffstat (limited to 'protocols/Telegram/tdlib/td/example/uwp/Telegram.Td.UWP.targets')
-rw-r--r-- | protocols/Telegram/tdlib/td/example/uwp/Telegram.Td.UWP.targets | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/protocols/Telegram/tdlib/td/example/uwp/Telegram.Td.UWP.targets b/protocols/Telegram/tdlib/td/example/uwp/Telegram.Td.UWP.targets new file mode 100644 index 0000000000..3ad7f3e95d --- /dev/null +++ b/protocols/Telegram/tdlib/td/example/uwp/Telegram.Td.UWP.targets @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + + <PropertyGroup> + <TelegramTdPlatform Condition="'$(Platform)' == 'Win32'">x86</TelegramTdPlatform> + <TelegramTdPlatform Condition="'$(Platform)' != 'Win32'">$(Platform)</TelegramTdPlatform> + <OpenSSLPlatform Condition="'$(Platform)' == 'Win32'"></OpenSSLPlatform> + <OpenSSLPlatform Condition="'$(Platform)' != 'Win32'">-$(Platform)</OpenSSLPlatform> + </PropertyGroup> + + <ItemGroup Condition="'$(TargetPlatformIdentifier)' == 'UAP'"> + <Reference Include="$(MSBuildThisFileDirectory)..\..\lib\uap10.0\Telegram.Td.winmd"> + <Implementation>Telegram.Td.dll</Implementation> + </Reference> + <ReferenceCopyLocalPaths Include="$(MSBuildThisFileDirectory)..\..\runtimes\win10-$(TelegramTdPlatform)\native\Telegram.Td.dll" /> + <ReferenceCopyLocalPaths Include="$(MSBuildThisFileDirectory)..\..\runtimes\win10-$(TelegramTdPlatform)\native\libcrypto-1_1$(OpenSSLPlatform).dll" /> + <ReferenceCopyLocalPaths Include="$(MSBuildThisFileDirectory)..\..\runtimes\win10-$(TelegramTdPlatform)\native\libssl-1_1$(OpenSSLPlatform).dll" /> + <ReferenceCopyLocalPaths Include="$(MSBuildThisFileDirectory)..\..\runtimes\win10-$(TelegramTdPlatform)\native\zlib1.dll" /> + </ItemGroup> + +</Project>
\ No newline at end of file |