]> git.saurik.com Git - wxWidgets.git/blame - wxPython/distrib/makedev.bat
Compilation fix for MSVC 6 and wxUSE_STL=1.
[wxWidgets.git] / wxPython / distrib / makedev.bat
CommitLineData
f6bcfd97
BP
1@echo off
2rem Builds a zip containing stuff needed to link with the wxWindows DLL
09740c31 3rem shipped with wxPython. This should allow other developers to create apps
f6bcfd97
BP
4rem or extensions that can share the same DLL.
5
c5e8ed23 6setlocal
09740c31 7set BASE=_distrib_zip\wxPython-%1
f6bcfd97 8
09740c31
RD
9rem **** Make a directory to build up a distribution tree
10mkdir _distrib_zip
c5e8ed23 11mkdir %BASE%
f6bcfd97 12
f6bcfd97 13
09740c31
RD
14rem *** copy files
15copy distrib\README.devel.txt %BASE%\README.txt
16
17mkdir %BASE%\include
18mkdir %BASE%\include\wx
19copy /s %WXWIN%\include\wx\* %BASE%\include\wx
f6bcfd97 20
09740c31
RD
21mkdir %BASE%\lib
22mkdir %BASE%\lib\mswdllh
23mkdir %BASE%\lib\mswdlluh
24copy /s %WXWIN%\lib\mswdllh\* %BASE%\lib\mswdllh
25copy /s %WXWIN%\lib\mswdlluh\* %BASE%\lib\mswdlluh
26copy %WXWIN%\lib\wxmsw*h.lib %BASE%\lib
27copy %WXWIN%\lib\wxmsw*h.dll %BASE%\lib
28copy %WXWIN%\lib\mslu.txt %BASE%\lib
29copy %WXWIN%\lib\unicows.dll %BASE%\lib
30copy %WXWIN%\lib\unicows.lib %BASE%\lib
f6bcfd97 31
c5e8ed23 32mkdir %BASE%\src
09740c31
RD
33copy %WXWIN%\src\makevc.env %BASE%\src
34copy %WXWIN%\src\makelib.vc %BASE%\src
35
36
37rem *** remove unneeded files
38del /sxzy %BASE%\include\wx\CVS
39del /sxzy %BASE%\include\wx\generic\CVS
40del /sxzy %BASE%\include\wx\gtk\CVS
41del /sxzy %BASE%\include\wx\html\CVS
42del /sxzy %BASE%\include\wx\mac\CVS
43del /sxzy %BASE%\include\wx\mgl\CVS
44del /sxzy %BASE%\include\wx\motif\CVS
45del /sxzy %BASE%\include\wx\msw\CVS
46del /sxzy %BASE%\include\wx\msw\ctl3d\CVS
47del /sxzy %BASE%\include\wx\msw\gnuwin32\CVS
48del /sxzy %BASE%\include\wx\msw\gnuwin32\gl\CVS
49del /sxzy %BASE%\include\wx\msw\ole\CVS
50del /sxzy %BASE%\include\wx\os2\CVS
51del /sxzy %BASE%\include\wx\protocol\CVS
52del /sxzy %BASE%\include\wx\univ\CVS
53del /sxzy %BASE%\include\wx\unix\CVS
54del /sxzy %BASE%\include\wx\x11\CVS
55del /sxzy %BASE%\include\wx\x11\nanox\CVS
56del /sxzy %BASE%\include\wx\x11\nanox\X11\CVS
f6bcfd97
BP
57
58
c5e8ed23 59
09740c31
RD
60rem *** bundle it all up
61cd _distrib_zip
1e4a197e
RD
62tar cvf ../dist/wxPythonWIN32-devel-%1.tar wxPython-%1
63gzip -9 ../dist/wxPythonWIN32-devel-%1.tar
c5e8ed23 64
09740c31
RD
65rem *** cleanup
66cd ..
67del /sxzy _distrib_zip
c5e8ed23
RD
68
69endlocal
f6bcfd97
BP
70
71
72