You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1015 B
XML
28 lines
1015 B
XML
1 year ago
|
<Project Sdk="Microsoft.NET.Sdk">
|
||
|
<PropertyGroup>
|
||
|
<TargetFramework>net6.0</TargetFramework>
|
||
|
<Nullable>enable</Nullable>
|
||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
<!-- Skip builing native libraries by default on Windows -->
|
||
|
<PropertyGroup Condition="$(SkipNative) == '' and $(OS) != 'Unix'">
|
||
|
<SkipNative>true</SkipNative>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
<ItemGroup>
|
||
|
<Compile Remove="examples\**" />
|
||
|
<None Remove="examples\**" />
|
||
|
<None Condition="$(SkipNative) != 'true'" Pack="true"
|
||
|
Include="..\..\lib\librgbmatrix.so.1"
|
||
|
PackagePath="\runtimes\linux-arm64\native" >
|
||
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||
|
</None>
|
||
|
</ItemGroup>
|
||
|
|
||
|
<Target Name="CompileNative" BeforeTargets="Compile" Condition="$(SkipNative) != 'true'">
|
||
|
<Message Text="Building native libraries" />
|
||
|
<Exec Command="make library" />
|
||
|
</Target>
|
||
|
</Project>
|