 -cmake -G "Visual Studio 8 2005 Win64"
 +cmake -G "Visual Studio 8 2005 Win64" -DCMAKE_BUILD_TYPE=%1
  copy cmakecache.txt win\vs8cache.txt
+
+diff -Nur old/build-vs9.bat new/build-vs9.bat
+--- win/build-vs9.bat.orig	2008-11-17 14:07:18 -06:00
++++ win/build-vs9.bat		2009-03-21 03:45:34 -05:00
+@@ -14,5 +14,5 @@
+ REM You should have received a copy of the GNU General Public License
+ REM along with this program; if not, write to the Free Software
+ REM Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+-cmake -G "Visual Studio 9 2008"
++cmake -G "Visual Studio 9 2008" -DCMAKE_BUILD_TYPE=%1
+
+diff -Nur old/build-vs9_x64.bat new/build-vs9_x64.bat
+--- win/build-vs9_x64.bat.orig	2008-11-17 14:07:18 -06:00
++++ win/build-vs9_x64.bat	2009-03-21 03:45:42 -05:00
+@@ -14,5 +14,5 @@
+ REM You should have received a copy of the GNU General Public License
+ REM along with this program; if not, write to the Free Software
+ REM Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+-cmake -G "Visual Studio 9 2008 Win64"
++cmake -G "Visual Studio 9 2008 Win64" -DCMAKE_BUILD_TYPE=%1

-cmake -G "Visual Studio 8 2005"
+cmake -G "Visual Studio 8 2005" -DCMAKE_BUILD_TYPE=%1
 copy cmakecache.txt win\vs8cache.txt
diff -Nur win/build-vs8_x64.bat.orig win/build-vs8_x64.bat
--- win/build-vs8_x64.bat.orig	2008-08-20 10:21:59 -05:00
+++ win/build-vs8_x64.bat	2008-10-27 10:53:11 -05:00

diff -Nur win/configure.js.orig win/configure.js
--- win/configure.js.orig	2008-09-26 21:18:37 -05:00
+++ win/configure.js	2008-10-01 11:21:27 -05:00
@@ -50,6 +50,7 @@
             case "EMBED_MANIFESTS":
             case "EXTRA_DEBUG":
             case "WITH_EMBEDDED_SERVER":
+            case "INNODB_DYNAMIC_PLUGIN":
                     configfile.WriteLine("SET (" + args.Item(i) + " TRUE)");
