]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/distrib/makedev.bat
[start of] a wxUniversal implementation of wxToolBar
[wxWidgets.git] / wxPython / distrib / makedev.bat
index 15735fc6e04b22b20ba31d36936293b1af229ae6..a7bc43f3d38d68522c8698c06d0f5305c4131498 100755 (executable)
@@ -3,39 +3,47 @@ rem   Builds a zip containing stuff needed to link with the wxWindows DLL
 rem   shipped with wxPython.  This allows other developers to create apps
 rem   or extensions that can share the same DLL.
 
 rem   shipped with wxPython.  This allows other developers to create apps
 rem   or extensions that can share the same DLL.
 
-mkdir wxWin
-mkdir wxWin\lib
-copy %WXWIN%\lib\*.lib wxWin\lib
-del wxWin\lib\*_d.lib
+setlocal
 
 
-mkdir wxWin\src
-copy %WXWIN%\src\makevc.env wxWin\src
-copy %WXWIN%\src\*.vc wxWin\src
+set BASE=wxPython-devel
 
 
-mkdir wxWin\src\msw
-mkdir wxWin\src\msw\ReleaseDLL
-copy %WXWIN%\src\msw\*.pch wxWin\src\msw
-del wxWin\src\msw\*_d.pch
-copy %WXWIN%\src\msw\ReleaseDLL\dummy*.obj wxWin\src\msw\ReleaseDLL
+mkdir %BASE%
 
 
-mkdir wxWin\include
-mkdir wxWin\include\wx
-mkdir wxWin\include\wx\msw
-mkdir wxWin\include\wx\generic
-mkdir wxWin\include\wx\html
-mkdir wxWin\include\wx\protocol
+mkdir %BASE%\ReleaseDLL
+mkdir %BASE%\HybridDLL
+copy /s %WXWIN%\ReleaseDLL %BASE%\ReleaseDLL
+copy /s %WXWIN%\HybridDLL %BASE%\HybridDLL
 
 
-copy %WXWIN%\include\wx\*.* wxWin\include\wx
-copy /s %WXWIN%\include\wx\msw\* wxWin\include\wx\msw
-copy /s %WXWIN%\include\wx\generic\* wxWin\include\wx\generic
-copy /s %WXWIN%\include\wx\html\* wxWin\include\wx\html
-copy /s %WXWIN%\include\wx\protocol\* wxWin\include\wx\protocol
+mkdir %BASE%\lib
+copy %WXWIN%\lib\*.lib %BASE\lib
+del %BASE%\lib\*d.lib
+copy %WXWIN%\lib\*.dll %BASE\lib
+del %BASE%\lib\*d.dll
+copy %WXWIN%\lib\*.pdb %BASE\lib
+del %BASE%\lib\*d.pdb
+copy /s %WXWIN%\lib\mswdll %BASE\lib\mswdll
+copy /s %WXWIN%\lib\mswdllh %BASE\lib\mswdllh
 
 
 
 
-zip -r wxPython-dev-%1.zip wxWin
+mkdir %BASE%\src
+copy %WXWIN%\src\makevc.env %BASE%\src
+copy %WXWIN%\src\*.vc %BASE%\src
 
 
+mkdir %BASE%\src\msw
+mkdir %BASE%\src\msw\ReleaseDLL
+copy %WXWIN%\src\msw\ReleaseDLL\dummy*.obj %BASE%\src\msw\ReleaseDLL
+mkdir %BASE%\src\msw\HybridDLL
+copy %WXWIN%\src\msw\HybridDLL\dummy*.obj %BASE%\src\msw\HybridDLL
 
 
-del /sx wxWin
+mkdir %BASE%\include
+mkdir %BASE%\include\wx
+copy /s %WXWIN%\include\wx\* %BASE%\include\wx
+
+
+zip -r dist\wxPython-devel-win32-%1.zip %BASE%
+del /sxzy %BASE%
+
+endlocal