Skip to content

Commit 274fa3e

Browse files
committed
Build targets.
1 parent c8bee63 commit 274fa3e

File tree

24 files changed

+36
-34
lines changed

24 files changed

+36
-34
lines changed

Directory.Build.props

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
<PropertyGroup>
44
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
5+
<IL2CPURepoRoot>$(RepoRoot)..\IL2CPU\</IL2CPURepoRoot>
6+
<XSharpRepoRoot>$(RepoRoot)..\XSharp\</XSharpRepoRoot>
57
</PropertyGroup>
68

79
<Import Project="build\Targets\Import.props" />

Tests/Cosmos.TestRunner.Core/Cosmos.TestRunner.Core.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
</ItemGroup>
1818

1919
<ItemGroup>
20-
<ProjectReference Include="..\..\..\IL2CPU\source\Cosmos.IL2CPU\Cosmos.IL2CPU.csproj" />
21-
<ProjectReference Include="..\..\..\IL2CPU\source\IL2CPU.API\IL2CPU.API.csproj" />
22-
<ProjectReference Include="..\..\..\XSharp\source\XSharp.Assembler\XSharp.Assembler.csproj" />
2320
<ProjectReference Include="..\..\source\Cosmos.Build.Common\Cosmos.Build.Common.csproj" />
2421
<ProjectReference Include="..\..\source\Cosmos.Core_Asm\Cosmos.Core_Asm.csproj" />
2522
<ProjectReference Include="..\..\source\Cosmos.Debug.DebugConnectors\Cosmos.Debug.DebugConnectors.csproj" />
@@ -46,6 +43,9 @@
4643
<ProjectReference Include="..\Cosmos.TestRunner.TestController\Cosmos.TestRunner.TestController.csproj" />
4744
<ProjectReference Include="..\GraphicTest\GraphicTest.csproj" />
4845
<ProjectReference Include="..\SimpleStructsAndArraysTest\SimpleStructsAndArraysTest.csproj" />
46+
<ProjectReference Include="$(IL2CPURepoRoot)source\Cosmos.IL2CPU\Cosmos.IL2CPU.csproj" />
47+
<ProjectReference Include="$(IL2CPURepoRoot)source\IL2CPU.API\IL2CPU.API.csproj" />
48+
<ProjectReference Include="$(XSharpRepoRoot)source\XSharp.Assembler\XSharp.Assembler.csproj" />
4949
</ItemGroup>
5050

5151
</Project>

Tests/Cosmos.TestRunner/Cosmos.TestRunner.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<ProjectReference Include="..\..\..\IL2CPU\source\IL2CPU\IL2CPU.csproj" />
1211
<ProjectReference Include="..\..\source\TheRingMaster\TheRingMaster.csproj" />
1312
<ProjectReference Include="..\..\Tools\NASM\NASM.csproj" />
1413
<ProjectReference Include="..\Cosmos.TestRunner.Core\Cosmos.TestRunner.Core.csproj" />
14+
<ProjectReference Include="$(IL2CPURepoRoot)source\IL2CPU\IL2CPU.csproj" />
1515
</ItemGroup>
1616

1717
</Project>

source/Cosmos.Build.MSBuild/Cosmos.Build.MSBuild.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
<ItemGroup>
2121
<ProjectReference Include="..\Cosmos.Build.Common\Cosmos.Build.Common.csproj" />
22-
<ProjectReference Include="..\..\..\IL2CPU\source\IL2CPU.Debug.Symbols\IL2CPU.Debug.Symbols.csproj" />
22+
<ProjectReference Include="$(IL2CPURepoRoot)source\IL2CPU.Debug.Symbols\IL2CPU.Debug.Symbols.csproj" />
2323
</ItemGroup>
2424

2525
</Project>

source/Cosmos.Build.Tasks/Cosmos.Build.Tasks.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ $(CosmosDescription)</PackageDescription>
2525
</ItemGroup>
2626

2727
<ItemGroup>
28-
<ProjectReference Include="..\..\..\IL2CPU\source\IL2CPU.Debug.Symbols\IL2CPU.Debug.Symbols.csproj" PrivateAssets="All" />
28+
<ProjectReference Include="$(IL2CPURepoRoot)source\IL2CPU.Debug.Symbols\IL2CPU.Debug.Symbols.csproj" PrivateAssets="All" />
2929
</ItemGroup>
3030

3131
</Project>

source/Cosmos.Core/Cosmos.Core.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<ItemGroup>
99
<ProjectReference Include="..\Cosmos.Debug.Kernel\Cosmos.Debug.Kernel.csproj" />
10-
<ProjectReference Include="..\..\..\IL2CPU\source\IL2CPU.API\IL2CPU.API.csproj" />
10+
<ProjectReference Include="$(IL2CPURepoRoot)source\IL2CPU.API\IL2CPU.API.csproj" />
1111
</ItemGroup>
1212

1313
</Project>

source/Cosmos.Core_Asm/Cosmos.Core_Asm.csproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
</ItemGroup>
1111

1212
<ItemGroup>
13-
<ProjectReference Include="..\..\..\IL2CPU\source\IL2CPU.API\IL2CPU.API.csproj" />
14-
<ProjectReference Include="..\..\..\IL2CPU\source\Cosmos.IL2CPU\Cosmos.IL2CPU.csproj" />
15-
<ProjectReference Include="..\..\..\XSharp\source\XSharp.Assembler\XSharp.Assembler.csproj" />
1613
<ProjectReference Include="..\Cosmos.Core\Cosmos.Core.csproj" />
1714
<ProjectReference Include="..\Cosmos.Debug.Kernel\Cosmos.Debug.Kernel.csproj" />
18-
<ProjectReference Include="..\..\..\XSharp\source\XSharp\XSharp.csproj" />
15+
<ProjectReference Include="$(IL2CPURepoRoot)source\Cosmos.IL2CPU\Cosmos.IL2CPU.csproj" />
16+
<ProjectReference Include="$(IL2CPURepoRoot)source\IL2CPU.API\IL2CPU.API.csproj" />
17+
<ProjectReference Include="$(XSharpRepoRoot)source\XSharp.Assembler\XSharp.Assembler.csproj" />
18+
<ProjectReference Include="$(XSharpRepoRoot)source\XSharp\XSharp.csproj" />
1919
</ItemGroup>
2020

2121
</Project>

source/Cosmos.Core_Plugs/Cosmos.Core_Plugs.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
</ItemGroup>
1111

1212
<ItemGroup>
13-
<ProjectReference Include="..\..\..\IL2CPU\source\IL2CPU.API\IL2CPU.API.csproj" />
1413
<ProjectReference Include="..\Cosmos.Common\Cosmos.Common.csproj" />
1514
<ProjectReference Include="..\Cosmos.Core\Cosmos.Core.csproj" />
1615
<ProjectReference Include="..\Cosmos.Debug.Kernel\Cosmos.Debug.Kernel.csproj" />
16+
<ProjectReference Include="$(IL2CPURepoRoot)source\IL2CPU.API\IL2CPU.API.csproj" />
1717
</ItemGroup>
1818

1919
</Project>

source/Cosmos.Debug.Kernel.Plugs.Asm/Cosmos.Debug.Kernel.Plugs.Asm.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<ProjectReference Include="..\..\..\IL2CPU\source\IL2CPU.API\IL2CPU.API.csproj" />
10-
<ProjectReference Include="..\..\..\XSharp\source\XSharp.Assembler\XSharp.Assembler.csproj" />
119
<ProjectReference Include="..\Cosmos.Debug.Kernel\Cosmos.Debug.Kernel.csproj" />
12-
<ProjectReference Include="..\..\..\XSharp\source\XSharp\XSharp.csproj" />
10+
<ProjectReference Include="$(IL2CPURepoRoot)source\IL2CPU.API\IL2CPU.API.csproj" />
11+
<ProjectReference Include="$(XSharpRepoRoot)source\XSharp.Assembler\XSharp.Assembler.csproj" />
12+
<ProjectReference Include="$(XSharpRepoRoot)source\XSharp\XSharp.csproj" />
1313
</ItemGroup>
1414

1515
</Project>

source/Cosmos.HAL2/Cosmos.HAL2.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<ProjectReference Include="..\..\..\IL2CPU\source\IL2CPU.API\IL2CPU.API.csproj" />
109
<ProjectReference Include="..\Cosmos.Common\Cosmos.Common.csproj" />
1110
<ProjectReference Include="..\Cosmos.Core\Cosmos.Core.csproj" />
1211
<ProjectReference Include="..\Cosmos.Debug.Kernel\Cosmos.Debug.Kernel.csproj" />
12+
<ProjectReference Include="$(IL2CPURepoRoot)source\IL2CPU.API\IL2CPU.API.csproj" />
1313
</ItemGroup>
1414

1515
</Project>

source/Cosmos.System2/Cosmos.System2.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<ProjectReference Include="..\..\..\IL2CPU\source\IL2CPU.API\IL2CPU.API.csproj" />
109
<ProjectReference Include="..\Cosmos.Common\Cosmos.Common.csproj" />
1110
<ProjectReference Include="..\Cosmos.Debug.Kernel\Cosmos.Debug.Kernel.csproj" />
1211
<ProjectReference Include="..\Cosmos.HAL2\Cosmos.HAL2.csproj" />
12+
<ProjectReference Include="$(IL2CPURepoRoot)source\IL2CPU.API\IL2CPU.API.csproj" />
1313
</ItemGroup>
1414

1515
</Project>

source/Cosmos.System2_Plugs/Cosmos.System2_Plugs.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<ProjectReference Include="..\..\..\IL2CPU\source\IL2CPU.API\IL2CPU.API.csproj" />
109
<ProjectReference Include="..\Cosmos.Common\Cosmos.Common.csproj" />
1110
<ProjectReference Include="..\Cosmos.Debug.Kernel\Cosmos.Debug.Kernel.csproj" />
1211
<ProjectReference Include="..\Cosmos.System2\Cosmos.System2.csproj" />
12+
<ProjectReference Include="$(IL2CPURepoRoot)source\IL2CPU.API\IL2CPU.API.csproj" />
1313
</ItemGroup>
1414

1515
</Project>

source/Cosmos.VS.DebugEngine/Cosmos.VS.DebugEngine.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
</ItemGroup>
1313

1414
<ItemGroup>
15-
<ProjectReference Include="..\..\..\IL2CPU\source\IL2CPU.Debug.Symbols\IL2CPU.Debug.Symbols.csproj" />
1615
<ProjectReference Include="..\Cosmos.Build.Common\Cosmos.Build.Common.csproj" />
1716
<ProjectReference Include="..\Cosmos.Debug.Common\Cosmos.Debug.Common.csproj" />
1817
<ProjectReference Include="..\Cosmos.Debug.DebugConnectors\Cosmos.Debug.DebugConnectors.csproj" />
@@ -22,6 +21,7 @@
2221
<IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup;GetCopyToOutputDirectoryItems;SatelliteDllsProjectOutputGroup;PkgdefProjectOutputGroup</IncludeOutputGroupsInVSIX>
2322
<IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup</IncludeOutputGroupsInVSIXLocalOnly>
2423
</ProjectReference>
24+
<ProjectReference Include="$(IL2CPURepoRoot)source\IL2CPU.Debug.Symbols\IL2CPU.Debug.Symbols.csproj" />
2525
</ItemGroup>
2626

2727
<ItemGroup>

source/Cosmos.VS.ProjectSystem/Cosmos.VS.ProjectSystem.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@
8181
</ItemGroup>
8282

8383
<ItemGroup>
84-
<ProjectReference Include="..\..\..\XSharp\source\VSPropertyPages\VSPropertyPages.csproj" />
8584
<ProjectReference Include="..\Cosmos.Build.Common\Cosmos.Build.Common.csproj" />
85+
<ProjectReference Include="$(XSharpRepoRoot)source\VSPropertyPages\VSPropertyPages.csproj" />
8686
</ItemGroup>
8787

8888
<Target Name="IncludeMissingAssemblies" AfterTargets="GetVsixSourceItems" BeforeTargets="RemoveVSSDKAssemblies">

source/Kernel-TapRoot/Demo/TRKernel.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@
5454
</PropertyGroup>
5555

5656
<ItemGroup>
57-
<ProjectReference Include="..\..\..\..\IL2CPU\source\IL2CPU.API\IL2CPU.API.csproj" />
5857
<ProjectReference Include="..\..\Kernel-X86\20-Platform\Cosmos.Platform.PC\Cosmos.Platform.PC.csproj" />
5958
<ProjectReference Include="..\..\Kernel-X86\40-System\Cosmos.System\Cosmos.System.csproj" />
59+
<ProjectReference Include="$(IL2CPURepoRoot)source\IL2CPU.API\IL2CPU.API.csproj" />
6060
</ItemGroup>
6161

6262
<ItemGroup>

source/Kernel-X86/10-CPU/Cosmos.CPU.x86/Cosmos.CPU.x86.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<ItemGroup>
1313
<ProjectReference PrivateAssets="All" Include="..\..\..\Cosmos.Debug.Kernel\Cosmos.Debug.Kernel.csproj" />
14-
<ProjectReference PrivateAssets="All" Include="..\..\..\..\..\IL2CPU\source\IL2CPU.API\IL2CPU.API.csproj" />
14+
<ProjectReference PrivateAssets="All" Include="$(IL2CPURepoRoot)source\IL2CPU.API\IL2CPU.API.csproj" />
1515
</ItemGroup>
1616

1717
</Project>

source/Kernel-X86/10-CPU/Cosmos.CPU_Asm/Cosmos.CPU_Asm.csproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
</ItemGroup>
1515

1616
<ItemGroup>
17-
<ProjectReference PrivateAssets="All" Include="..\..\..\..\..\XSharp\source\XSharp.Assembler\XSharp.Assembler.csproj" />
1817
<ProjectReference PrivateAssets="All" Include="..\..\..\Cosmos.Debug.Kernel\Cosmos.Debug.Kernel.csproj" />
19-
<ProjectReference PrivateAssets="All" Include="..\..\..\..\..\IL2CPU\source\IL2CPU.API\IL2CPU.API.csproj" />
20-
<ProjectReference PrivateAssets="All" Include="..\..\..\..\..\IL2CPU\source\Cosmos.IL2CPU\Cosmos.IL2CPU.csproj" />
21-
<ProjectReference PrivateAssets="All" Include="..\..\..\..\..\XSharp\source\XSharp\XSharp.csproj" />
2218
<ProjectReference PrivateAssets="All" Include="..\Cosmos.CPU.x86\Cosmos.CPU.x86.csproj" />
19+
<ProjectReference PrivateAssets="All" Include="$(IL2CPURepoRoot)source\Cosmos.IL2CPU\Cosmos.IL2CPU.csproj" />
20+
<ProjectReference PrivateAssets="All" Include="$(IL2CPURepoRoot)source\IL2CPU.API\IL2CPU.API.csproj" />
21+
<ProjectReference PrivateAssets="All" Include="$(XSharpRepoRoot)source\XSharp\XSharp.csproj" />
22+
<ProjectReference PrivateAssets="All" Include="$(XSharpRepoRoot)source\XSharp.Assembler\XSharp.Assembler.csproj" />
2323
</ItemGroup>
2424

2525
</Project>

source/Kernel-X86/10-CPU/Cosmos.CPU_Plugs/Cosmos.CPU_Plugs.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
<ItemGroup>
1717
<ProjectReference PrivateAssets="All" Include="..\..\..\Cosmos.Debug.Kernel\Cosmos.Debug.Kernel.csproj" />
18-
<ProjectReference PrivateAssets="All" Include="..\..\..\..\..\IL2CPU\source\IL2CPU.API\IL2CPU.API.csproj" />
1918
<ProjectReference PrivateAssets="All" Include="..\Cosmos.CPU.x86\Cosmos.CPU.x86.csproj" />
19+
<ProjectReference PrivateAssets="All" Include="$(IL2CPURepoRoot)source\IL2CPU.API\IL2CPU.API.csproj" />
2020
</ItemGroup>
2121

2222
</Project>

source/Kernel-X86/20-Platform/Cosmos.Platform.PC/Cosmos.Platform.PC.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
</ItemGroup>
1010

1111
<ItemGroup>
12-
<ProjectReference Include="..\..\..\..\..\IL2CPU\source\IL2CPU.API\IL2CPU.API.csproj" />
1312
<ProjectReference PrivateAssets="All" Include="..\..\10-CPU\Cosmos.CPU.x86\Cosmos.CPU.x86.csproj" />
1413
<ProjectReference PrivateAssets="All" Include="..\..\30-HAL\Cosmos.HAL\Cosmos.HAL.csproj" />
14+
<ProjectReference Include="$(IL2CPURepoRoot)source\IL2CPU.API\IL2CPU.API.csproj" />
1515
</ItemGroup>
1616

1717
</Project>

source/Kernel-X86/30-HAL/Cosmos.HAL/Cosmos.HAL.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</ItemGroup>
1010

1111
<ItemGroup>
12-
<ProjectReference Include="..\..\..\..\..\IL2CPU\source\IL2CPU.API\IL2CPU.API.csproj" />
12+
<ProjectReference Include="$(IL2CPURepoRoot)source\IL2CPU.API\IL2CPU.API.csproj" />
1313
</ItemGroup>
1414

1515
</Project>

source/Kernel-X86/40-System/Cosmos.System/Cosmos.System.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
</ItemGroup>
1010

1111
<ItemGroup>
12-
<ProjectReference PrivateAssets="All" Include="..\..\..\..\..\IL2CPU\source\IL2CPU.API\IL2CPU.API.csproj" />
1312
<ProjectReference PrivateAssets="All" Include="..\..\30-HAL\Cosmos.HAL\Cosmos.HAL.csproj" />
13+
<ProjectReference PrivateAssets="All" Include="$(IL2CPURepoRoot)source\IL2CPU.API\IL2CPU.API.csproj" />
1414
</ItemGroup>
1515

1616
</Project>

source/Kernel-X86/50-Application/GuessKernelGen3.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@
5858
</ItemGroup>
5959

6060
<ItemGroup>
61-
<ProjectReference Include="..\..\..\..\IL2CPU\source\IL2CPU.API\IL2CPU.API.csproj" />
6261
<ProjectReference Include="..\20-Platform\Cosmos.Platform.PC\Cosmos.Platform.PC.csproj" />
6362
<ProjectReference Include="..\40-System\Cosmos.System\Cosmos.System.csproj" />
63+
<ProjectReference Include="$(IL2CPURepoRoot)source\IL2CPU.API\IL2CPU.API.csproj" />
6464
</ItemGroup>
6565

6666
<ItemGroup>

source/Kernel-X86/91-Plugs/Cosmos.Plugs.TapRoot/Cosmos.Plugs.TapRoot.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
</ItemGroup>
1111

1212
<ItemGroup>
13-
<ProjectReference PrivateAssets="All" Include="..\..\..\Cosmos.Debug.Kernel\Cosmos.Debug.Kernel.csproj" />
14-
<ProjectReference PrivateAssets="All" Include="..\..\..\..\..\IL2CPU\source\IL2CPU.API\IL2CPU.API.csproj" />
13+
<ProjectReference Include="..\..\..\Cosmos.Debug.Kernel\Cosmos.Debug.Kernel.csproj" />
14+
<ProjectReference Include="$(IL2CPURepoRoot)source\IL2CPU.API\IL2CPU.API.csproj" />
1515
</ItemGroup>
1616

1717
</Project>

source/TheRingMaster/TheRingMaster.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</ItemGroup>
1111

1212
<ItemGroup>
13-
<ProjectReference Include="..\..\..\IL2CPU\source\IL2CPU.API\IL2CPU.API.csproj" />
13+
<ProjectReference Include="$(IL2CPURepoRoot)source\IL2CPU.API\IL2CPU.API.csproj" />
1414
<ProjectReference Include="..\Cosmos.Build.Common\Cosmos.Build.Common.csproj" />
1515
</ItemGroup>
1616

0 commit comments

Comments
 (0)