]> git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/msw/.make.btm
More about the sizer changes
[wxWidgets.git] / wxPython / distrib / msw / .make.btm
1 @echo off
2 setlocal
3
4
5 iff "%1" == "both" then
6 shift
7 call .make debug %$ & if %? != 0 quit %?
8 call .make hybrid %$ & if %? != 0 quit %?
9 quit
10
11 elseiff "%1" == "both-uni" then
12 shift
13 call .make debug-uni %$ & if %? != 0 quit %?
14 call .make hybrid-uni %$ & if %? != 0 quit %?
15 quit
16
17 elseiff "%1" == "both-hybrid" then
18 shift
19 call .make hybrid %$ & if %? != 0 quit %?
20 call .make hybrid-uni %$ & if %? != 0 quit %?
21 quit
22
23 elseiff "%1" == "all" then
24 shift
25 call .make debug %$ & if %? != 0 quit %?
26 call .make hybrid %$ & if %? != 0 quit %?
27 call .make debug-uni %$ & if %? != 0 quit %?
28 call .make hybrid-uni %$ & if %? != 0 quit %?
29 quit
30
31 elseiff "%1" == "debug" then
32 set BUILD_TYPE=%1
33 set WXLIBDIR=mswd
34 shift
35
36 elseiff "%1" == "hybrid" then
37 set BUILD_TYPE=%1
38 set WXLIBDIR=mswh
39 shift
40
41 elseiff "%1" == "release" then
42 set BUILD_TYPE=%1
43 set WXLIBDIR=msw
44 shift
45
46 elseiff "%1" == "debug-uni" then
47 set BUILD_TYPE=%1
48 set WXLIBDIR=mswud
49 shift
50
51 elseiff "%1" == "hybrid-uni" then
52 set BUILD_TYPE=%1
53 set WXLIBDIR=mswuh
54 shift
55
56 elseiff "%1" == "release-uni" then
57 set BUILD_TYPE=%1
58 set WXLIBDIR=mswu
59 shift
60
61 else
62 echo Invalid build type: "%1"
63 quit 1
64 endiff
65
66
67 echo ------------------
68 echo cd %WXWIN%\build\msw
69 cd %WXWIN%\build\msw
70 nmake -f .makesetup.mk %WXWIN%\lib\vc_dll\%WXLIBDIR%\wx\setup.h
71
72
73 echo ------------------
74 echo cd %WXWIN%\build\msw
75 cd %WXWIN%\build\msw
76 call %WXWIN%\build\msw\.mymake %BUILD_TYPE% %$
77 if %? != 0 goto done
78
79
80 echo ------------------
81 echo cd ..\..\contrib\build\gizmos
82 cd ..\..\contrib\build\gizmos
83 call %WXWIN%\build\msw\.mymake %BUILD_TYPE% %$
84 if %? != 0 goto done
85 cd -
86
87 echo ------------------
88 echo cd ..\..\contrib\build\xrc
89 cd ..\..\contrib\build\xrc
90 call %WXWIN%\build\msw\.mymake %BUILD_TYPE% %$
91 if %? != 0 goto done
92 cd -
93
94
95 echo ------------------
96 echo cd ..\..\contrib\build\stc
97 cd ..\..\contrib\build\stc
98 call %WXWIN%\build\msw\.mymake %BUILD_TYPE% %$
99 if %? != 0 goto done
100 cd -
101
102
103 echo ------------------
104 echo cd ..\..\contrib\build\ogl
105 cd ..\..\contrib\build\ogl
106 call %WXWIN%\build\msw\.mymake %BUILD_TYPE% CXX="cl -DwxUSE_DEPRECATED=0" %$
107 if %? != 0 goto done
108 cd -
109
110
111
112 @echo -----------------
113 @echo -- SUCCESS! --
114 @echo -----------------
115 REM copy DLLs to a dir on the PATH
116 REM copy /U %WXWIN%\lib\vc_dll\*.dll %WXWIN%\BIN
117 REM copy /U %WXWIN%\lib\vc_dll\*.pdb %WXWIN%\BIN
118 quit 0
119
120
121 :done
122 @echo -----------------
123 @echo -- ERROR! --
124 @echo -----------------
125 quit %?
126