Skip to content

Commit

Permalink
The joys of having to use 2 VMs to build this thing
Browse files Browse the repository at this point in the history
  • Loading branch information
Sauceke committed Dec 4, 2022
1 parent 45f0ed1 commit 89fcac9
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 4 deletions.
16 changes: 16 additions & 0 deletions src/LoveMachine.Core.IL2CPP/LoveMachine.Core.IL2CPP.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,22 @@
<OutputPath>..\bin\LoveMachine.Core.IL2CPP\</OutputPath>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
<Target Name="EmbedVersion" BeforeTargets="BeforeBuild">
<PropertyGroup>
<!-- %3B is semicolon (;) -->
<_VersionTemplate>
// DO NOT EDIT this file - it is generated by the build
namespace LoveMachine.Core
{
internal static class VersionInfo
{
internal const string Version = @"$(Version)"%3B
}
}
</_VersionTemplate>
</PropertyGroup>
<WriteLinesToFile File="VersionInfo.cs" Lines="$(_VersionTemplate)" WriteOnlyWhenDifferent="true" Overwrite="true" />
</Target>
<ItemGroup>
<Compile Include="..\LoveMachine.Core\**\*.cs" Exclude="..\LoveMachine.Core\obj\**\*.cs;..\LoveMachine.Core\Mono\*.cs" LinkBase="Included"/>
</ItemGroup>
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/LoveMachine.Core/LoveMachine.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace LoveMachine.Core
}
</_VersionTemplate>
</PropertyGroup>
<WriteLinesToFile File="VersionInfo.cs" Lines="$(_VersionTemplate)" WriteOnlyWhenDifferent="true" Overwrite="true" />
<WriteLinesToFile File="Mono/VersionInfo.cs" Lines="$(_VersionTemplate)" WriteOnlyWhenDifferent="true" Overwrite="true" />
</Target>
<ItemGroup>
<Reference Include="System.XML" />
Expand Down
8 changes: 8 additions & 0 deletions src/LoveMachine.Core/Mono/VersionInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// DO NOT EDIT this file - it is generated by the build
namespace LoveMachine.Core
{
internal static class VersionInfo
{
internal const string Version = @"1.0.0";
}
}
3 changes: 0 additions & 3 deletions src/LoveMachine.sln
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LoveMachine.COM3D2", "LoveMachine.COM3D2\LoveMachine.COM3D2.csproj", "{E160CE73-DDAB-4F86-9C8D-502752EAA144}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LoveMachine.Core.IL2CPP", "LoveMachine.Core.IL2CPP\LoveMachine.Core.IL2CPP.csproj", "{C99DFA93-A3C2-49DD-BA1D-F9001DAEFDF9}"
ProjectSection(ProjectDependencies) = postProject
{36E78D7D-C987-4E98-B709-149D19C4193A} = {36E78D7D-C987-4E98-B709-149D19C4193A}
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LoveMachine.RG", "LoveMachine.RG\LoveMachine.RG.csproj", "{1D29C16D-C7DC-4732-B6FC-D51666E2610F}"
EndProject
Expand Down

0 comments on commit 89fcac9

Please sign in to comment.