Unify Windows and mono build systems.

The Makefile behaviour is recreated using the new and significantly
cleaner .NET Core csproj format.

fixheader.exe is promoted to OpenRA.PostProcess.exe and now runs
on all platforms.
This commit is contained in:
Paul Chote
2019-05-03 08:10:25 +00:00
committed by reaperrr
parent 6e364cdbee
commit 1955cac84e
22 changed files with 307 additions and 2346 deletions

View File

@@ -1,4 +1,4 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27130.2010
@@ -178,6 +178,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tiberian Sun Lua scripts",
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenRA.StyleCheck", "OpenRA.StyleCheck\OpenRA.StyleCheck.csproj", "{5FEAB6DC-4E81-4B63-958B-22FC3534C606}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenRA.PostProcess", "OpenRA.PostProcess\OpenRA.PostProcess.csproj", "{EE63AF7E-92EA-48FB-81E2-53D7D92F8050}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
@@ -220,6 +222,10 @@ Global
{5FEAB6DC-4E81-4B63-958B-22FC3534C606}.Debug|x86.Build.0 = Debug|x86
{5FEAB6DC-4E81-4B63-958B-22FC3534C606}.Release|x86.ActiveCfg = Release|x86
{5FEAB6DC-4E81-4B63-958B-22FC3534C606}.Release|x86.Build.0 = Release|x86
{EE63AF7E-92EA-48FB-81E2-53D7D92F8050}.Debug|x86.ActiveCfg = Debug|x86
{EE63AF7E-92EA-48FB-81E2-53D7D92F8050}.Debug|x86.Build.0 = Debug|x86
{EE63AF7E-92EA-48FB-81E2-53D7D92F8050}.Release|x86.ActiveCfg = Release|x86
{EE63AF7E-92EA-48FB-81E2-53D7D92F8050}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -228,172 +234,7 @@ Global
StartupItem = OpenRA.Game\OpenRA.Game.csproj
Policies = $0
$0.DotNetNamingPolicy = $1
$1.DirectoryNamespaceAssociation = None
$1.ResourceNamePolicy = FileFormatDefault
$0.TextStylePolicy = $7
$2.TabsToSpaces = False
$2.NoTabsAfterNonTabs = True
$2.inheritsSet = VisualStudio
$2.inheritsScope = text/plain
$2.scope = text/x-csharp
$0.CSharpFormattingPolicy = $3
$3.IndentSwitchBody = True
$3.AnonymousMethodBraceStyle = NextLine
$3.PropertyBraceStyle = NextLine
$3.PropertyGetBraceStyle = NextLine
$3.PropertySetBraceStyle = NextLine
$3.EventBraceStyle = NextLine
$3.EventAddBraceStyle = NextLine
$3.EventRemoveBraceStyle = NextLine
$3.StatementBraceStyle = NextLine
$3.ArrayInitializerBraceStyle = NextLine
$3.BeforeMethodDeclarationParentheses = False
$3.BeforeMethodCallParentheses = False
$3.BeforeConstructorDeclarationParentheses = False
$3.BeforeDelegateDeclarationParentheses = False
$3.NewParentheses = False
$3.inheritsSet = Mono
$3.inheritsScope = text/x-csharp
$3.scope = text/x-csharp
$4.TabsToSpaces = False
$4.NoTabsAfterNonTabs = True
$4.inheritsSet = VisualStudio
$4.inheritsScope = text/plain
$4.scope = text/plain
$5.NoTabsAfterNonTabs = True
$5.inheritsSet = Mono
$5.inheritsScope = text/plain
$5.scope = text/microsoft-resx
$0.XmlFormattingPolicy = $8
$6.inheritsSet = Mono
$6.inheritsScope = application/xml
$6.scope = text/microsoft-resx
$7.NoTabsAfterNonTabs = True
$7.inheritsSet = Mono
$7.inheritsScope = text/plain
$7.scope = application/xml
$8.inheritsSet = Mono
$8.inheritsScope = application/xml
$8.scope = application/xml
$0.StandardHeader = $9
$9.Text = @#region Copyright & License Information\n/*\n * Copyright 2007-${Year} The OpenRA Developers (see AUTHORS)\n * This file is part of OpenRA, which is free software. It is made\n * available to you under the terms of the GNU General Public License\n * as published by the Free Software Foundation. For more information,\n * see COPYING.\n */\n#endregion
$9.IncludeInNewFiles = True
$0.NameConventionPolicy = $10
$10.Rules = $11
$11.NamingRule = $31
$12.Name = Namespaces
$12.AffectedEntity = Namespace
$12.VisibilityMask = VisibilityMask
$12.NamingStyle = PascalCase
$12.IncludeInstanceMembers = True
$12.IncludeStaticEntities = True
$13.Name = Types
$13.AffectedEntity = Class, Struct, Enum, Delegate
$13.VisibilityMask = Public
$13.NamingStyle = PascalCase
$13.IncludeInstanceMembers = True
$13.IncludeStaticEntities = True
$14.Name = Interfaces
$14.RequiredPrefixes = $15
$15.String = I
$14.AffectedEntity = Interface
$14.VisibilityMask = Public
$14.NamingStyle = PascalCase
$14.IncludeInstanceMembers = True
$14.IncludeStaticEntities = True
$16.Name = Attributes
$16.RequiredSuffixes = $17
$17.String = Attribute
$16.AffectedEntity = CustomAttributes
$16.VisibilityMask = Public
$16.NamingStyle = PascalCase
$16.IncludeInstanceMembers = True
$16.IncludeStaticEntities = True
$18.Name = Event Arguments
$18.RequiredSuffixes = $19
$19.String = EventArgs
$18.AffectedEntity = CustomEventArgs
$18.VisibilityMask = Public
$18.NamingStyle = PascalCase
$18.IncludeInstanceMembers = True
$18.IncludeStaticEntities = True
$20.Name = Exceptions
$20.RequiredSuffixes = $21
$21.String = Exception
$20.AffectedEntity = CustomExceptions
$20.VisibilityMask = VisibilityMask
$20.NamingStyle = PascalCase
$20.IncludeInstanceMembers = True
$20.IncludeStaticEntities = True
$22.Name = Methods
$22.AffectedEntity = Methods
$22.VisibilityMask = Protected, Public
$22.NamingStyle = PascalCase
$22.IncludeInstanceMembers = True
$22.IncludeStaticEntities = True
$23.Name = Static Readonly Fields
$23.AffectedEntity = ReadonlyField
$23.VisibilityMask = Protected, Public
$23.NamingStyle = PascalCase
$23.IncludeInstanceMembers = False
$23.IncludeStaticEntities = True
$24.Name = Fields
$24.AffectedEntity = Field
$24.VisibilityMask = Protected, Public
$24.NamingStyle = PascalCase
$24.IncludeInstanceMembers = True
$24.IncludeStaticEntities = True
$25.Name = ReadOnly Fields
$25.AffectedEntity = ReadonlyField
$25.VisibilityMask = Protected, Public
$25.NamingStyle = PascalCase
$25.IncludeInstanceMembers = True
$25.IncludeStaticEntities = False
$26.Name = Constant Fields
$26.AffectedEntity = ConstantField
$26.VisibilityMask = Protected, Public
$26.NamingStyle = PascalCase
$26.IncludeInstanceMembers = True
$26.IncludeStaticEntities = True
$27.Name = Properties
$27.AffectedEntity = Property
$27.VisibilityMask = Protected, Public
$27.NamingStyle = PascalCase
$27.IncludeInstanceMembers = True
$27.IncludeStaticEntities = True
$28.Name = Events
$28.AffectedEntity = Event
$28.VisibilityMask = Protected, Public
$28.NamingStyle = PascalCase
$28.IncludeInstanceMembers = True
$28.IncludeStaticEntities = True
$29.Name = Enum Members
$29.AffectedEntity = EnumMember
$29.VisibilityMask = VisibilityMask
$29.NamingStyle = PascalCase
$29.IncludeInstanceMembers = True
$29.IncludeStaticEntities = True
$30.Name = Parameters
$30.AffectedEntity = Parameter
$30.VisibilityMask = VisibilityMask
$30.NamingStyle = CamelCase
$30.IncludeInstanceMembers = True
$30.IncludeStaticEntities = True
$31.Name = Type Parameters
$31.RequiredPrefixes = $32
$32.String = T
$31.AffectedEntity = TypeParameter
$31.VisibilityMask = VisibilityMask
$31.NamingStyle = PascalCase
$31.IncludeInstanceMembers = True
$31.IncludeStaticEntities = True
$0.VersionControlPolicy = $33
$33.inheritsSet = Mono
$0.ChangeLogPolicy = $34
$34.UpdateMode = None
$34.MessageStyle = $35
$35.LineAlign = 0
$34.inheritsSet = Mono
outputpath = .
EndGlobalSection
EndGlobal