1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<PackageDescription>QuantLib</PackageDescription>
</PropertyGroup>
<ItemGroup>
<Content Include="../cpp/NQuantLibc.dll" Link="runtimes/win-x64/native/NQuantLibc.dll"
Condition=" '$(OS)' == 'Windows_NT' ">
<PackagePath>runtimes/win-x64/native</PackagePath>
</Content>
<Content Include="../cpp/libNQuantLibc.so" Link="runtimes/linux-x64/native/libNQuantLibc.so"
Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' ">
<PackagePath>runtimes/linux-x64/native</PackagePath>
</Content>
<Content Include="../cpp/libNQuantLibc.dylib" Link="runtimes/osx-x64/native/libNQuantLibc.dylib"
Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' ">
<PackagePath>runtimes/osx-x64/native</PackagePath>
</Content>
</ItemGroup>
</Project>
|