From ce9f7666b4dbffb4dfe622b8d4487a96963be8bb Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Thu, 27 May 2010 20:59:02 +1200 Subject: [PATCH] make build process saner (emit binaries into root rather than spray them through /bin/Debug/) --- .gitignore | 1 + MapConverter/MapConverter.csproj | 6 +- OpenRA.Editor/OpenRA.Editor.csproj | 2 +- OpenRA.FileFormats/OpenRA.FileFormats.csproj | 4 +- OpenRA.Game/OpenRA.Game.csproj | 2 +- OpenRA.Gl/OpenRA.Gl.csproj | 7 +- OpenRA.Mods.RA-NG/OpenRA.Mods.RA_NG.csproj | 76 ------------------- OpenRA.Mods.RA-NG/Properties/AssemblyInfo.cs | 36 --------- .../OpenRA.TilesetBuilder.csproj | 2 +- SequenceEditor/SequenceEditor.csproj | 4 +- packaging/windows/OpenRA.nsi | 6 +- 11 files changed, 18 insertions(+), 128 deletions(-) delete mode 100644 OpenRA.Mods.RA-NG/OpenRA.Mods.RA_NG.csproj delete mode 100644 OpenRA.Mods.RA-NG/Properties/AssemblyInfo.cs diff --git a/.gitignore b/.gitignore index a9ac4c3804..c8cc5be886 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,7 @@ log.txt #binary stuff /*.dll +*.pdb *.mdb /*.exe OpenRA diff --git a/MapConverter/MapConverter.csproj b/MapConverter/MapConverter.csproj index 9143993766..f615bf7e12 100644 --- a/MapConverter/MapConverter.csproj +++ b/MapConverter/MapConverter.csproj @@ -14,7 +14,7 @@ true full false - bin\Debug + ..\ DEBUG prompt 4 @@ -28,7 +28,7 @@ - + 3.5 @@ -44,5 +44,5 @@ OpenRA.FileFormats - + \ No newline at end of file diff --git a/OpenRA.Editor/OpenRA.Editor.csproj b/OpenRA.Editor/OpenRA.Editor.csproj index d73e720712..fb91c65217 100644 --- a/OpenRA.Editor/OpenRA.Editor.csproj +++ b/OpenRA.Editor/OpenRA.Editor.csproj @@ -17,7 +17,7 @@ true full false - bin\Debug\ + ..\ DEBUG;TRACE prompt 4 diff --git a/OpenRA.FileFormats/OpenRA.FileFormats.csproj b/OpenRA.FileFormats/OpenRA.FileFormats.csproj index c085da35f3..2dd13a7973 100644 --- a/OpenRA.FileFormats/OpenRA.FileFormats.csproj +++ b/OpenRA.FileFormats/OpenRA.FileFormats.csproj @@ -1,4 +1,4 @@ - + Debug @@ -19,7 +19,7 @@ true - bin\Debug\ + ..\ DEBUG;TRACE true full diff --git a/OpenRA.Game/OpenRA.Game.csproj b/OpenRA.Game/OpenRA.Game.csproj index b3f9c19ee4..3a8e3ceff5 100755 --- a/OpenRA.Game/OpenRA.Game.csproj +++ b/OpenRA.Game/OpenRA.Game.csproj @@ -35,7 +35,7 @@ true - bin\Debug\ + ..\ TRACE;DEBUG true full diff --git a/OpenRA.Gl/OpenRA.Gl.csproj b/OpenRA.Gl/OpenRA.Gl.csproj index 79f71e80e6..695680c861 100644 --- a/OpenRA.Gl/OpenRA.Gl.csproj +++ b/OpenRA.Gl/OpenRA.Gl.csproj @@ -1,4 +1,4 @@ - + Debug @@ -17,7 +17,7 @@ true full false - bin\Debug\ + ..\ DEBUG;TRACE prompt 4 @@ -75,6 +75,7 @@ --> - copy "$(TargetPath)" "$(SolutionDir)" + + \ No newline at end of file diff --git a/OpenRA.Mods.RA-NG/OpenRA.Mods.RA_NG.csproj b/OpenRA.Mods.RA-NG/OpenRA.Mods.RA_NG.csproj deleted file mode 100644 index 84d473c052..0000000000 --- a/OpenRA.Mods.RA-NG/OpenRA.Mods.RA_NG.csproj +++ /dev/null @@ -1,76 +0,0 @@ - - - - Debug - AnyCPU - 9.0.30729 - 2.0 - {6CA925E5-4A47-46AC-9DE3-FA341F7C94A7} - Library - Properties - OpenRA.Mods.RA_NG - OpenRA.Mods.RA_NG - v3.5 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - 3.5 - - - 3.5 - - - 3.5 - - - - - - - - - - {BDAEAB25-991E-46A7-AF1E-4F0E03358DAA} - OpenRA.FileFormats - - - {0DFB103F-2962-400F-8C6D-E2C28CCBA633} - OpenRA.Game - - - {4A8A43B5-A9EF-4ED0-99DD-4BAB10A0DB6E} - OpenRA.Mods.RA - - - - - - mkdir "$(SolutionDir)mods/ra-ng/" -copy "$(TargetPath)" "$(SolutionDir)mods/ra-ng/" - - \ No newline at end of file diff --git a/OpenRA.Mods.RA-NG/Properties/AssemblyInfo.cs b/OpenRA.Mods.RA-NG/Properties/AssemblyInfo.cs deleted file mode 100644 index 3263db634e..0000000000 --- a/OpenRA.Mods.RA-NG/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("OpenRA.Mods.RA-NG")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("OpenRA")] -[assembly: AssemblyCopyright("Copyright © 2007,2009,2010")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("3c94e0bf-6350-4703-a770-59cbc260d0a1")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/OpenRA.TilesetBuilder/OpenRA.TilesetBuilder.csproj b/OpenRA.TilesetBuilder/OpenRA.TilesetBuilder.csproj index 755de66c9a..cfed2a5ce2 100644 --- a/OpenRA.TilesetBuilder/OpenRA.TilesetBuilder.csproj +++ b/OpenRA.TilesetBuilder/OpenRA.TilesetBuilder.csproj @@ -17,7 +17,7 @@ true full false - bin\Debug\ + ..\ DEBUG;TRACE prompt 4 diff --git a/SequenceEditor/SequenceEditor.csproj b/SequenceEditor/SequenceEditor.csproj index 626fe86300..dfe19ed26e 100644 --- a/SequenceEditor/SequenceEditor.csproj +++ b/SequenceEditor/SequenceEditor.csproj @@ -1,4 +1,4 @@ - + Debug @@ -35,7 +35,7 @@ AnyCPU - bin\x86\Debug\ + ..\ none 4 false diff --git a/packaging/windows/OpenRA.nsi b/packaging/windows/OpenRA.nsi index 910e2e3aa7..751ec61944 100644 --- a/packaging/windows/OpenRA.nsi +++ b/packaging/windows/OpenRA.nsi @@ -52,8 +52,8 @@ Var StartMenuFolder ;*************************** Section "Client" Client SetOutPath "$INSTDIR" - File "..\..\OpenRA.Game\bin\Debug\OpenRA.Game.exe" - File "..\..\OpenRA.Game\bin\Debug\OpenRA.FileFormats.dll" + File "..\..\OpenRA.Game.exe" + File "..\..\OpenRA.FileFormats.dll" File "..\..\OpenRA.Gl.dll" File "..\..\COPYING" File "..\..\HACKING" @@ -85,7 +85,7 @@ SectionEnd Section "Editor" Editor SetOutPath "$INSTDIR" - File "..\..\OpenRA.Editor\bin\Debug\OpenRA.Editor.exe" + File "..\..\OpenRA.Editor.exe" !insertmacro MUI_STARTMENU_WRITE_BEGIN Application CreateDirectory "$SMPROGRAMS\$StartMenuFolder"