forked from hzeller/rpi-rgb-led-matrix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RPiRgbLEDMatrix.csproj
27 lines (24 loc) · 1015 Bytes
/
RPiRgbLEDMatrix.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<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>