]>
Commit | Line | Data |
---|---|---|
f6bcfd97 BP |
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 | ||
c5e8ed23 | 6 | setlocal |
f6bcfd97 | 7 | |
c5e8ed23 | 8 | set BASE=wxPython-devel |
f6bcfd97 | 9 | |
c5e8ed23 | 10 | mkdir %BASE% |
f6bcfd97 | 11 | |
c5e8ed23 RD |
12 | mkdir %BASE%\ReleaseDLL |
13 | mkdir %BASE%\HybridDLL | |
14 | copy /s %WXWIN%\ReleaseDLL %BASE%\ReleaseDLL | |
15 | copy /s %WXWIN%\HybridDLL %BASE%\HybridDLL | |
f6bcfd97 | 16 | |
c5e8ed23 RD |
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 | |
f6bcfd97 BP |
26 | |
27 | ||
c5e8ed23 RD |
28 | mkdir %BASE%\src |
29 | copy %WXWIN%\src\makevc.env %BASE%\src | |
30 | copy %WXWIN%\src\*.vc %BASE%\src | |
f6bcfd97 | 31 | |
c5e8ed23 RD |
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 | |
f6bcfd97 | 37 | |
c5e8ed23 RD |
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 | |
f6bcfd97 BP |
47 | |
48 | ||
49 |