<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>netcoreapp3.1</TargetFramework>
    <RuntimeIdentifiers>win-x64;linux-x64</RuntimeIdentifiers>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
    <DefineConstants>TRACE</DefineConstants>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
    <DefineConstants>TRACE</DefineConstants>
  </PropertyGroup>
  <ItemGroup>
    <!-- Common definitions -->
	  
    <!-- <Compile Include="Common\DecimalJS.fs" /> -->
    <!-- <Compile Include="Common\MathJS.fs" /> -->
	  
    <Compile Include="Common\EEExtensions.fs" />
    <Compile Include="Common\Optics.fs" />
    <Compile Include="Common\ElectronAPI.fs" />
    <Compile Include="Common\HashMap.fs" />
    <Compile Include="Common\CommonTypes.fs" />
    <Compile Include="Common\DrawHelpers.fs" />
    <Compile Include="Common\Helpers.fs" />
    <Compile Include="Common\TimeHelpers.fs" />

    <Compile Include="Interface\JSHelpers.fs" />

	  <!-- Simulator -->
    <Compile Include="Simulator\CanvasStateAnalyser.fs" />
	<Compile Include="Simulator\MathJsHelpers.fs" />
	<Compile Include="Simulator\Extractor.fs" />
    <Compile Include="Simulator\NumberHelpers.fs" />
	<Compile Include="Simulator\Simulation.fs" />
	
	<Compile Include="Simulator\Tests.fs" />
	
	<!-- JS and File interface -->
	<Compile Include="Interface\Version.fs" />
	<Compile Include="Interface\FilesIO.fs" />
	<None Include="scss\main.scss" />

    <!-- Draw2D diagram -->
    <Compile Include="DrawBlock\DrawModelType.fs" />
    <Compile Include="DrawBlock\PopupDrawingView.fs" />
    <Compile Include="DrawBlock\Symbol.fs" />
	<Compile Include="DrawBlock\SymbolView.fs" />
	<Compile Include="DrawBlock\SymbolUpdatePortHelpers.fs" />
    <Compile Include="DrawBlock\SymbolUpdate.fs" />
    <Compile Include="DrawBlock\BusWire.fs" />
	<Compile Include="DrawBlock\BusWireUpdateHelpers.fs" />
    <Compile Include="DrawBlock\BusWireUpdate.fs" />
    <Compile Include="DrawBlock\Sheet.fs" />
	<Compile Include="DrawBlock\SheetUpdateHelpers.fs" />
    <Compile Include="DrawBlock\SheetUpdate.fs" />
    <!-- UI -->
    <Compile Include="UI/ModelType.fs" />
    <Compile Include="UI\ModelHelpers.fs" />
    <Compile Include="UI/Style.fs" />
    <Compile Include="UI\Graph.fs" />
    <Compile Include="UI\Notifications.fs" />
    <Compile Include="UI\PopupView.fs" />
	<Compile Include="UI/ComponentCreation.fs" />  
    <Compile Include="UI/FileMenuView.fs" />
    <Compile Include="UI/CatalogueView.fs" />
    <Compile Include="UI/SelectedComponentView.fs" />
    <Compile Include="UI\SimulationHelpers.fs" />
    <Compile Include="UI\MainView.fs" />
    <Compile Include="UI\UpdateHelpers.fs" />
    <Compile Include="UI\Update.fs" />
    <Compile Include="Renderer.fs" />
  </ItemGroup>
  
  <!-- Dependencies -->
  <Import Project="..\..\.paket\Paket.Restore.targets" />
</Project>