<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>net8.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>disable</Nullable>
    <Platforms>AnyCPU</Platforms>

    <AssemblyName>MedullaAdapter</AssemblyName>

    <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
    <OutputPath>build\Medulla\plugins\</OutputPath>
  </PropertyGroup>

  <ItemGroup>
    <Reference Include="CartActivator">
      <HintPath>ref\RefCartActivator.dll</HintPath>
      <Private>false</Private>
    </Reference>
    <Reference Include="MedullaCore">
      <HintPath>ref\RefMedullaCore.dll</HintPath>
      <Private>false</Private>
    </Reference>

    <Reference Include="FundamentalLib">
      <HintPath>ref\RefFundamentalLib.dll</HintPath>
      <Private>false</Private>
    </Reference>

    <Reference Include="MDCSToolBox">
      <HintPath>ref\MDCSToolBox.dll</HintPath>
      <Private>false</Private>
    </Reference>

    <!-- <Reference Include="CycleGUI">
      <HintPath>ref\CycleGUI.dll</HintPath>
      <Private>false</Private>
    </Reference> -->
    <Reference Include="CommonUsage">
      <HintPath>..\ref\CommonUsage.dll</HintPath>
    </Reference>
  </ItemGroup>

  <ItemGroup>
  <Compile Include="..\Shared\Models\ChassisCommand.cs"
           Link="Shared\Models\ChassisCommand.cs" />

  <Compile Include="..\Shared\Mathematics\FrameTransform2D.cs"
           Link="Shared\Mathematics\FrameTransform2D.cs" />

  <Compile Include="..\Shared\Mathematics\AngleMath.cs"
           Link="Shared\Mathematics\AngleMath.cs" />

  <Compile Include="..\Shared\Chassis\MultiWheelChassisAdapter.cs"
           Link="Shared\Chassis\MultiWheelChassisAdapter.cs" />
</ItemGroup>

</Project>
