mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 04:18:43 +00:00
Added option to deploy content files.
This commit is contained in:
parent
18e7579107
commit
123b14917f
4 changed files with 26 additions and 0 deletions
|
|
@ -61,6 +61,14 @@
|
|||
<CosmosBuildTasksAssembly Condition="'$(CosmosBuildTasksAssembly)' == '' OR !Exists('$(CosmosBuildTasksAssembly)')">$(CosmosToolsPath)Cosmos.Build.Tasks.dll</CosmosBuildTasksAssembly>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemDefinitionGroup Condition="'$(DefineExplicitDefaults)' == 'True'">
|
||||
<Content Deploy="False" />
|
||||
</ItemDefinitionGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ContentToDeploy Include="@(Content)" Condition="'%(Content.Deploy)' == 'True'" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(KernelPkg)' == ''">
|
||||
<PlugsReference Include="$(KernelAssembliesDir)Cosmos.Core_Asm.dll" />
|
||||
<PlugsReference Include="$(KernelAssembliesDir)Cosmos.Core_Plugs.dll" />
|
||||
|
|
@ -274,6 +282,7 @@
|
|||
<_IsoFile Include="$(SyslinuxPath)com32\lib\libcom32.c32" />
|
||||
<_IsoFile Include="$(SyslinuxPath)com32\mboot\mboot.c32" />
|
||||
<_IsoFile Include="$(BinFile)" />
|
||||
<_IsoFile Include="@(ContentToDeploy)" />
|
||||
</ItemGroup>
|
||||
|
||||
<RemoveDir Directories="$(IntermediateIsoDirectory)" />
|
||||
|
|
|
|||
|
|
@ -15,6 +15,9 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PropertyPageSchema Include="$(_CosmosXamlResourcesDirectory)Rules\Content.xaml">
|
||||
<Context>File;BrowseObject</Context>
|
||||
</PropertyPageSchema>
|
||||
<PropertyPageSchema Include="$(_CosmosXamlResourcesDirectory)Rules\CosmosDebugger.xaml">
|
||||
<Context>Project</Context>
|
||||
</PropertyPageSchema>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Rule Name="Content"
|
||||
DisplayName="File Properties"
|
||||
PageTemplate="generic"
|
||||
Description="File Properties"
|
||||
OverrideMode="Extend"
|
||||
xmlns="http://schemas.microsoft.com/build/2009/properties">
|
||||
|
||||
<BoolProperty Name="Deploy"
|
||||
DisplayName="Deploy"
|
||||
Category="Advanced" />
|
||||
|
||||
</Rule>
|
||||
|
|
@ -30,6 +30,7 @@
|
|||
|
||||
<ItemGroup>
|
||||
<XamlPropertyRule Include="BuildSystem\Rules\BootableConfiguration.xaml" />
|
||||
<XamlPropertyRule Include="BuildSystem\Rules\Content.xaml" />
|
||||
<XamlPropertyRule Include="BuildSystem\Rules\CosmosDebugger.xaml" />
|
||||
<XamlPropertyRule Include="BuildSystem\Rules\LaunchConfiguration.xaml" />
|
||||
</ItemGroup>
|
||||
|
|
|
|||
Loading…
Reference in a new issue