From 80aa24a8f8782a62c34867cfe0d783d6a00bd517 Mon Sep 17 00:00:00 2001 From: stephena Date: Tue, 28 Sep 2010 22:59:55 +0000 Subject: [PATCH] Added build script for Visual Studio 2005, which should allow to build release files for Windows 98 and 2000. This is necessary, since VS 2008 and 2010 remove support for Win98 and Win2K, respectively. Updated Create_builds to properly deal with spaces in Win32 home directory, and to pause until the EXE release file(s) are actually created. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2136 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- src/win32/Create_Builds.bat | 16 +- src/win32/Stella_vs2005.sln | 19 + src/win32/Stella_vs2005.vcproj | 1694 ++++++++++++++++++++++++++++++++ 3 files changed, 1724 insertions(+), 5 deletions(-) create mode 100644 src/win32/Stella_vs2005.sln create mode 100644 src/win32/Stella_vs2005.vcproj diff --git a/src/win32/Create_Builds.bat b/src/win32/Create_Builds.bat index 74504c209..0f0542d09 100644 --- a/src/win32/Create_Builds.bat +++ b/src/win32/Create_Builds.bat @@ -111,6 +111,13 @@ if %HAVE_FLIP% == 1 ( ) ) +:: Create output directory for release files +if not exist Output ( + echo Creating output directory ... + mkdir Output +) + + :: Actually create the ZIP file if %HAVE_ZIP% == 1 ( echo Creating ZIP file ... @@ -121,18 +128,17 @@ if %HAVE_ZIP% == 1 ( if %HAVE_ISCC% == 1 ( if %BUILD_32% == 1 ( echo Creating 32-bit EXE ... - iscc.lnk %CD%\stella.iss /q "/dSTELLA_VER=%STELLA_VER%" "/dSTELLA_ARCH=win32" "/dSTELLA_PATH=%STELLA_DIR%\32-bit" "/dSTELLA_DOCPATH=%STELLA_DIR%\docs" + iscc.lnk "%CD%\stella.iss" /q "/dSTELLA_VER=%STELLA_VER%" "/dSTELLA_ARCH=win32" "/dSTELLA_PATH=%STELLA_DIR%\32-bit" "/dSTELLA_DOCPATH=%STELLA_DIR%\docs" ) if %BUILD_64% == 1 ( echo Creating 64-bit EXE ... - iscc.lnk %CD%\stella.iss /q "/dSTELLA_VER=%STELLA_VER%" "/dSTELLA_ARCH=x64" "/dSTELLA_PATH=%STELLA_DIR%\64-bit" "/dSTELLA_DOCPATH=%STELLA_DIR%\docs" + iscc.lnk "%CD%\stella.iss" /q "/dSTELLA_VER=%STELLA_VER%" "/dSTELLA_ARCH=x64" "/dSTELLA_PATH=%STELLA_DIR%\64-bit" "/dSTELLA_DOCPATH=%STELLA_DIR%\docs" ) ) :: Cleanup time -echo Removing %STELLA_DIR% ... +echo Cleaning up files, ... +pause 5 rmdir %STELLA_DIR% /s /q :done -echo. -pause diff --git a/src/win32/Stella_vs2005.sln b/src/win32/Stella_vs2005.sln new file mode 100644 index 000000000..6edfedccd --- /dev/null +++ b/src/win32/Stella_vs2005.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Stella_vs2005", "Stella_vs2005.vcproj", "{D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Debug|Win32.ActiveCfg = Debug|Win32 + {D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Debug|Win32.Build.0 = Debug|Win32 + {D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Release|Win32.ActiveCfg = Release|Win32 + {D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/src/win32/Stella_vs2005.vcproj b/src/win32/Stella_vs2005.vcproj new file mode 100644 index 000000000..802970492 --- /dev/null +++ b/src/win32/Stella_vs2005.vcproj @@ -0,0 +1,1694 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +