Skip to content

Commit

Permalink
4.5.2 -> 452
Browse files Browse the repository at this point in the history
  • Loading branch information
shimat committed Apr 4, 2021
1 parent 285c9a1 commit b364220
Showing 1 changed file with 20 additions and 11 deletions.
31 changes: 20 additions & 11 deletions tool/OpenCvSharp.ReleaseMaker/Packer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static class Packer
@"OpenCvSharp.Extensions\bin\Release\netcoreapp2.1\OpenCvSharp.Extensions.dll",
@"OpenCvSharp.Extensions\bin\Release\netcoreapp2.1\OpenCvSharp.Extensions.pdb",
},
["netcoreapp3.1"] = new[]
["netcoreapp3.1"] = new[]
{
// netstandard2.1
@"OpenCvSharp\bin\Release\netstandard2.1\OpenCvSharp.dll",
Expand Down Expand Up @@ -87,18 +87,27 @@ public static class Packer
".nuget",
"packages",
}.ToHashSet();
private static IReadOnlyDictionary<string, string> UwpNativeDllDirectories(string version) => new Dictionary<string, string>

private static IReadOnlyDictionary<string, string> UwpNativeDllDirectories(string version)
{
["x86"] = @$"opencv_files\opencv{version}_uwp_x86\x86\vc16\bin",
["x64"] = @$"opencv_files\opencv{version}_uwp_x64\x64\vc16\bin",
["ARM"] = @$"opencv_files\opencv{version}_uwp_ARM\x86\vc16\bin",
};
private static IReadOnlyList<string> UwpNativeDlls(string version) => new[]
version = version.Replace(".", "");
return new Dictionary<string, string>
{
["x86"] = @$"opencv_files\opencv{version}_uwp_x86\x86\vc16\bin",
["x64"] = @$"opencv_files\opencv{version}_uwp_x64\x64\vc16\bin",
["ARM"] = @$"opencv_files\opencv{version}_uwp_ARM\x86\vc16\bin",
};
}

private static IReadOnlyList<string> UwpNativeDlls(string version)
{
$"opencv_world{version}.dll",
$"opencv_img_hash{version}.dll"
};
version = version.Replace(".", "");
return new[]
{
$"opencv_world{version}.dll",
$"opencv_img_hash{version}.dll"
};
}

/// <summary>
/// Make
Expand Down

0 comments on commit b364220

Please sign in to comment.