]> git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/makedev.bat
making wxMSW MSLU(unicows)-friendly
[wxWidgets.git] / wxPython / distrib / makedev.bat
1 @echo off
2 rem Builds a zip containing stuff needed to link with the wxWindows DLL
3 rem shipped with wxPython. This allows other developers to create apps
4 rem or extensions that can share the same DLL.
5
6 setlocal
7
8 set BASE=wxPython-devel
9
10 mkdir %BASE%
11
12 mkdir %BASE%\ReleaseDLL
13 mkdir %BASE%\HybridDLL
14 copy /s %WXWIN%\ReleaseDLL %BASE%\ReleaseDLL
15 copy /s %WXWIN%\HybridDLL %BASE%\HybridDLL
16
17 mkdir %BASE%\lib
18 copy %WXWIN%\lib\*.lib %BASE\lib
19 del %BASE%\lib\*d.lib
20 copy %WXWIN%\lib\*.dll %BASE\lib
21 del %BASE%\lib\*d.dll
22 copy %WXWIN%\lib\*.pdb %BASE\lib
23 del %BASE%\lib\*d.pdb
24 copy /s %WXWIN%\lib\mswdll %BASE\lib\mswdll
25 copy /s %WXWIN%\lib\mswdllh %BASE\lib\mswdllh
26
27
28 mkdir %BASE%\src
29 copy %WXWIN%\src\makevc.env %BASE%\src
30 copy %WXWIN%\src\*.vc %BASE%\src
31
32 mkdir %BASE%\src\msw
33 mkdir %BASE%\src\msw\ReleaseDLL
34 copy %WXWIN%\src\msw\ReleaseDLL\dummy*.obj %BASE%\src\msw\ReleaseDLL
35 mkdir %BASE%\src\msw\HybridDLL
36 copy %WXWIN%\src\msw\HybridDLL\dummy*.obj %BASE%\src\msw\HybridDLL
37
38 mkdir %BASE%\include
39 mkdir %BASE%\include\wx
40 copy /s %WXWIN%\include\wx\* %BASE%\include\wx
41
42
43 zip -r dist\wxPython-devel-win32-%1.zip %BASE%
44 del /sxzy %BASE%
45
46 endlocal
47
48
49