efl/src/bindings/mono/efl_sharp.csproj.in

49 lines
1.6 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>netstandard@NETSTANDARD_VERSION@</TargetFramework>
</PropertyGroup>
<PropertyGroup>
<PackageId>Efl.Csharp</PackageId>
<Version>@EFL_VERSION@</Version>
<Authors>EFL Team</Authors>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
</PropertyGroup>
<!-- <PropertyGroup Condition="'$(BuildType)'=='Beta'"> -->
<!-- <DefineConstants>EFL_BETA</DefineConstants> -->
<!-- </PropertyGroup> -->
<PropertyGroup>
<DefineConstants>@EFL_BETA@</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Compile Include="@BINDING_SRC@/efl_mono/*.cs" />
<!-- FIXME Windows support -->
<Compile Include="@BINDING_SRC@/eo_mono/*.cs" Exclude="@BINDING_SRC@/eo_mono/*Windows.cs" />
<Compile Include="@BINDING_SRC@/eina_mono/*.cs" />
<Compile Include="@BINDING_SRC@/eolian_mono/*.cs" />
<Compile Include="@BINDING_SRC@/eldbus_mono/*.cs" />
</ItemGroup>
<!-- Calling `dotnet build` from a different folder seems to mess up the automatic source file discovery.
But we want them to be included only when building the lib itself.
-->
<ItemGroup Condition="'$(BuildingLib)'=='Yes'">
<Compile Include="./efl_mono/*.cs" />
<Compile Include="./*.cs" />
</ItemGroup>
<!-- Code style configuration -->
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.6" />
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" />
</ItemGroup>
<PropertyGroup>
<CodeAnalysisRuleSet>@CA_RULESET@</CodeAnalysisRuleSet>
</PropertyGroup>
</Project>