mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 04:18:43 +00:00
Add bin format
This commit is contained in:
parent
087ab24f0d
commit
a89cb710c7
3 changed files with 26 additions and 0 deletions
11
source/Cosmos.Build.Common/BinFormat.cs
Normal file
11
source/Cosmos.Build.Common/BinFormat.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
namespace Cosmos.Build.Common
|
||||
{
|
||||
/// <summary>
|
||||
/// Format for the images produced.
|
||||
/// </summary>
|
||||
public enum BinFormat
|
||||
{
|
||||
Elf,
|
||||
Bin,
|
||||
}
|
||||
}
|
||||
|
|
@ -221,5 +221,19 @@ namespace Cosmos.Build.Common {
|
|||
get { return GetProperty(EnableBochsDebugString, false); }
|
||||
set { SetProperty(EnableBochsDebugString, value); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Name of the configuration property in the project file.
|
||||
/// </summary>
|
||||
public const string BinFormatString = "BinFormat";
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets binary format which is used for producing kernel image.
|
||||
/// </summary>
|
||||
public BinFormat BinFormat
|
||||
{
|
||||
get { return GetProperty(BinFormatString, BinFormat.Bin); }
|
||||
set { SetProperty(BinFormatString, value); }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@
|
|||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="BinFormat.cs" />
|
||||
<Compile Include="BuildProperties.cs" />
|
||||
<Compile Include="CosmosPaths.cs" />
|
||||
<Compile Include="Enums.cs" />
|
||||
|
|
|
|||
Loading…
Reference in a new issue