mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-03-03 03:27:01 +00:00
103 lines
4.5 KiB
XML
103 lines
4.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net6.0</TargetFramework>
|
|
<!--<RuntimeIdentifier>cosmos</RuntimeIdentifier>-->
|
|
<Platform>cosmos</Platform>
|
|
<SupportsX86Intrinsics>false</SupportsX86Intrinsics>
|
|
<SelfContained>True</SelfContained>
|
|
<Platforms>AnyCPU;x64;ARM64</Platforms>
|
|
<Configurations>Debug;Release;Fixed_Release</Configurations>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<EnableGDB>False</EnableGDB>
|
|
<StartCosmosGDB>False</StartCosmosGDB>
|
|
<VisualStudioDebugPort>Pipe: Cosmos\Serial</VisualStudioDebugPort>
|
|
<CosmosDebugPort>Serial: COM1</CosmosDebugPort>
|
|
<Launch>VMware</Launch>
|
|
<Profile>VMware</Profile>
|
|
<Description>Use VMware Player or Workstation to deploy and debug.</Description>
|
|
<PxeInterface>192.168.0.8</PxeInterface>
|
|
<CompressionType>Gzip</CompressionType>
|
|
<BinFormat>Bin</BinFormat>
|
|
<DebugEnabled>False</DebugEnabled>
|
|
<CompileVBEMultiboot>False</CompileVBEMultiboot>
|
|
<RemoveBootDebugOutput>True</RemoveBootDebugOutput>
|
|
<CosmosDisableDebugger>true</CosmosDisableDebugger>
|
|
<CosmosDebugLevel>None</CosmosDebugLevel>
|
|
<OptimizationLevel>2</OptimizationLevel>
|
|
<VBEResolution>800x600x32</VBEResolution>
|
|
<RunPostBuildEvent>Always</RunPostBuildEvent>
|
|
<Timeout>1</Timeout>
|
|
<UseUEFI>False</UseUEFI>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
|
<WarningLevel>8</WarningLevel>
|
|
<NoWarn>1603,1701;1702,8632</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<WarningLevel>8</WarningLevel>
|
|
<NoWarn>1603,1701;1702,8632</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
|
<WarningLevel>8</WarningLevel>
|
|
<NoWarn>1603,1701;1702,8632</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<WarningLevel>8</WarningLevel>
|
|
<NoWarn>1603,1701;1702,8632</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Fixed_Release|AnyCPU'">
|
|
<WarningLevel>8</WarningLevel>
|
|
<NoWarn>1603,1701;1702,8632</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Fixed_Release|x64'">
|
|
<WarningLevel>8</WarningLevel>
|
|
<NoWarn>1603,1701;1702,8632</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<None Remove="font.psf" />
|
|
<None Remove="Solarize.12x29.psf" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="font.psf" />
|
|
<EmbeddedResource Include="Wallpapers\wallpaper.bmp" />
|
|
<EmbeddedResource Include="GitCommit.txt" />
|
|
<EmbeddedResource Include="BuildTime.txt" />
|
|
<EmbeddedResource Include="LuaApps\*.lua" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Cosmos.Build" Version="0.1.0-localbuild20260201071808" NoWarn="NU1604">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Cosmos.Common" Version="0.1.0-localbuild20260201071815" />
|
|
<PackageReference Include="Cosmos.Core" Version="0.1.0-localbuild20260201071815" />
|
|
<PackageReference Include="Cosmos.Debug.Kernel" Version="0.1.0-localbuild20260201071815" NoWarn="NU1604" />
|
|
<PackageReference Include="Cosmos.Debug.Kernel.Plugs.Asm" Version="0.1.0-localbuild20260201071815" />
|
|
<PackageReference Include="Cosmos.HAL2" Version="0.1.0-localbuild20260201071815" />
|
|
<PackageReference Include="Cosmos.Plugs" Version="0.1.0-localbuild20260201071815" />
|
|
<PackageReference Include="Cosmos.System2" Version="0.1.0-localbuild20260201071815" />
|
|
<PackageReference Include="Cosmos.System2_Plugs" Version="0.1.0-localbuild20260201071815" />
|
|
<PackageReference Include="CosmosFtpServer" Version="1.0.9" />
|
|
<PackageReference Include="CosmosHttp" Version="1.0.4" />
|
|
<PackageReference Include="IL2CPU.API" Version="0.1.0-localbuild20260225062300" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
|
|
<Exec Command="powershell -ExecutionPolicy Bypass -File GenerateGitCommit.ps1" WorkingDirectory="$(MSBuildProjectDirectory)" />
|
|
<Exec Command="powershell -ExecutionPolicy Bypass -File BuildTime.ps1" WorkingDirectory="$(MSBuildProjectDirectory)" />
|
|
</Target>
|
|
|
|
</Project>
|