mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
Removed cryptographically insecure sha1. This existed only for OPA compatibility. Also exclude bindings from main workspace Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
25 lines
776 B
XML
25 lines
776 B
XML
<Project Sdk="Microsoft.NET.Sdk" InitialTargets="BuildRegorusFFI">
|
|
|
|
<Target Name="BuildRegorusFFI">
|
|
<Exec Command="cargo build -r --manifest-path ../../ffi/Cargo.toml" />
|
|
<Copy SourceFiles="../../ffi/RegorusFFI.g.cs" DestinationFolder="." />
|
|
<ItemGroup>
|
|
<RegorusDylib Include="..\..\ffi\target\release\*regorus_ffi*" />
|
|
</ItemGroup>
|
|
<Copy SourceFiles="@(RegorusDylib)" DestinationFolder="." />
|
|
</Target>
|
|
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net40</TargetFramework>
|
|
<RootNamespace>regorus_test</RootNamespace>
|
|
<StartupObject>regoregorus_test.Program</StartupObject>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
</Project>
|