<Project Sdk="Microsoft.NET.Sdk">
    <PropertyGroup>
      <Configurations>Debug;Release;Release-Server</Configurations>
      <Platforms>AnyCPU;linux-arm</Platforms>
    </PropertyGroup>
    <Import Project="../InnovEnergy.Lib.props" />

    <ItemGroup>
        <ProjectReference Include="../Utils/Utils.csproj" />
        <ProjectReference Include="../Time/Time.csproj" />
        <ProjectReference Include="../SrcGen/SrcGen.csproj" />
    </ItemGroup>
    
    <Target Name="PreBuild" BeforeTargets="PreBuildEvent">
        <MSBuild Projects="../SrcGen/SrcGen.csproj" />
        <Exec Command="../SrcGen/bin/$(Configuration)/$(TargetFramework)/SrcGen $(MSBuildProjectFullPath)" />
    </Target>

</Project>