summaryrefslogtreecommitdiff
path: root/dist/winmsi/build.bat
diff options
context:
space:
mode:
Diffstat (limited to 'dist/winmsi/build.bat')
-rw-r--r--dist/winmsi/build.bat22
1 files changed, 12 insertions, 10 deletions
diff --git a/dist/winmsi/build.bat b/dist/winmsi/build.bat
index 001c3afd..c6369606 100644
--- a/dist/winmsi/build.bat
+++ b/dist/winmsi/build.bat
@@ -1,14 +1,14 @@
@echo off
:: Helper script to build BDB products for binary release
:: Assumes current directory is <product>/dist
-:: Current version of Visual Studio for binaries is 2005.
+:: Current version of Visual Studio for binaries is 2008.
:: This is enforced but if testing is desired for other releases
-:: it's possible to cut/paste.
+:: it's possible to edit.
::
:: Try to find different versions of Visual Studio
-call :TryBat "%VS80COMNTOOLS%\vsvars32.bat" && goto VS80
+::call :TryBat "%VS80COMNTOOLS%\vsvars32.bat" && goto VS80
call :TryBat "%VS90COMNTOOLS%\vsvars32.bat" && goto VS90
:: no luck
@@ -30,24 +30,26 @@ echo Using Visual Studio format 8.0 (Visual Studio 2005)
goto :eof
:VS90
-@echo Windows binaries must be built using Visual Studio 2005
-@echo If you want to test VS2008, uncomment the goto line below.
-@echo Note these build lines will not work with the express editions
-@echo of VS which do not appear to include "devenv."
+@echo Note these build commands will not work with the express
+@echo editions of VS2008 which do not appear to include "devenv."
@echo Express editions can be built with lines like:
@echo "VCExpress Berkeley_DB.sln /build" or
@echo "VCSExpress BDB_dotNet.sln /build"
-goto :batnotfound
+::goto :batnotfound
@echo Using Visual Studio format 9.0 (Visual Studio 2008)
@echo "" > winbld.out
+@echo devenv /upgrade ..\build_windows\Berkeley_DB.sln
+@devenv /upgrade ..\build_windows\Berkeley_DB.sln >> winbld.out
@echo devenv /build Release ..\build_windows\Berkeley_DB.sln
@devenv /build Release ..\build_windows\Berkeley_DB.sln >> winbld.out
@echo devenv /build Release ..\build_windows\Berkeley_DB.sln /project VS8\db_java.vcproj
@devenv /build Release ..\build_windows\Berkeley_DB.sln /project VS8\db_java.vcproj
+@echo devenv /upgrade ..\build_windows\BDB_dotNet.sln
+@devenv /upgrade ..\build_windows\BDB_dotNet.sln >> winbld.out
@echo devenv /build Release ..\build_windows\BDB_dotNet.sln
@devenv /build Release ..\build_windows\BDB_dotNet.sln >> winbld.out
-@echo devenv /build Release ..\build_windows\VS8\db_sql_jdbc.vcproj
-@devenv /build Release ..\build_windows\VS8\db_sql_jdbc.vcproj >> winbld.out
+@echo devenv /build Release ..\build_windows\Berkeley_DB.sln /project VS8\db_sql_java.vcproj
+@devenv /build Release ..\build_windows\Berkeley_DB.sln /project VS8\db_sql_java.vcproj >> winbld.out
@echo devenv /build Release ..\build_windows\VS8\db_sql_odbc.vcproj
@devenv /build Release ..\build_windows\VS8\db_sql_odbc.vcproj >> winbld.out
goto :eof