зеркало из https://github.com/microsoft/SEAL.git
47 строки
2.2 KiB
XML
47 строки
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
|
|
Licensed under the MIT license. -->
|
|
|
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<IsSEALMobile>False</IsSEALMobile>
|
|
<IsSEALMobile Condition="'$(AndroidApplication)'=='True' Or '$(Platform)'=='iPhone' Or '$(Platform)'=='iPhoneSimulator'">True</IsSEALMobile>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<SEALCBinaryFiles Condition="$([MSBuild]::IsOsPlatform('Windows'))" Include="$(MSBuildThisFileDirectory)../runtimes/win10-x64/sealc.dll" />
|
|
<SEALCBinaryFiles Condition="$([MSBuild]::IsOsPlatform('Linux'))" Include="$(MSBuildThisFileDirectory)../runtimes/linux-x64/libsealc.so*" />
|
|
<SEALCBinaryFiles Condition="$([MSBuild]::IsOsPlatform('OSX'))" Include="$(MSBuildThisFileDirectory)../runtimes/macos-x64/libsealc*.dylib" />
|
|
</ItemGroup>
|
|
<ItemGroup Condition="!$(IsSEALMobile)">
|
|
<None Include="@(SEALCBinaryFiles)">
|
|
<Link Condition="$([MSBuild]::IsOsPlatform('Windows'))">sealc.dll</Link>
|
|
<Link Condition="$([MSBuild]::IsOsPlatform('Linux'))">libsealc.so</Link>
|
|
<Link Condition="$([MSBuild]::IsOsPlatform('OSX'))">libsealc.dylib</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
<ItemGroup Condition="'$(AndroidApplication)'=='True'">
|
|
<AndroidNativeLibrary Include="$(MSBuildThisFileDirectory)../runtimes/android-arm64/libsealc.so">
|
|
<Abi>arm64-v8a</Abi>
|
|
<Link>libs\arm64-v8a\libsealc.so</Link>
|
|
</AndroidNativeLibrary>
|
|
<AndroidNativeLibrary Include="$(MSBuildThisFileDirectory)../runtimes/android-x64/libsealc.so">
|
|
<Abi>x86_64</Abi>
|
|
<Link>libs\x86_64\libsealc.so</Link>
|
|
</AndroidNativeLibrary>
|
|
</ItemGroup>
|
|
<ItemGroup Condition="'$(Platform)'=='iPhone' Or '$(Platform)'=='iPhoneSimulator'">
|
|
<NativeReference Include="$(MSBuildThisFileDirectory)../runtimes/ios64/libsealc.a">
|
|
<Kind>Static</Kind>
|
|
<ForceLoad>True</ForceLoad>
|
|
<IsCxx>True</IsCxx>
|
|
</NativeReference>
|
|
<NativeReference Include="$(MSBuildThisFileDirectory)../runtimes/ios64/libseal.a">
|
|
<Kind>Static</Kind>
|
|
<ForceLoad>True</ForceLoad>
|
|
<IsCxx>True</IsCxx>
|
|
</NativeReference>
|
|
</ItemGroup>
|
|
</Project>
|