12 if [ "$1" == "both" ]; then
14 .make debug $@ && .make hybrid $@
17 elif [ "$1" == "both-uni" ]; then
19 .make debug-uni $@ && .make hybrid-uni $@
22 elif [ "$1" == "both-hybrid" ]; then
24 .make hybrid $@ && .make hybrid-uni $@
27 elif [ "$1" == "all" ]; then
31 .make debug-uni $@ && \
35 elif [ "$1" == "debug" ]; then
40 elif [ "$1" == "hybrid" ]; then
45 elif [ "$1" == "release" ]; then
50 elif [ "$1" == "debug-uni" ]; then
55 elif [ "$1" == "hybrid-uni" ]; then
60 elif [ "$1" == "release-uni" ]; then
66 echo "Invalid build type: $1 options are"
81 echo ------------------
82 WXWIN=`cygpath -m $WXWIN`
85 echo mkdir -p $WXWIN/lib/vc_dll/$WXLIBDIR/wx
86 mkdir -p $WXWIN/lib/vc_dll/$WXLIBDIR/wx
87 echo nmake -f .makesetup.mk $WXWIN/lib/vc_dll/$WXLIBDIR/wx/setup.h
88 nmake -f .makesetup.mk $WXWIN/lib/vc_dll/$WXLIBDIR/wx/setup.h
91 echo ------------------
92 echo cd $WXWIN/build/msw
94 $WXWIN/build/msw/.mymake $BUILD_TYPE $@
95 if [ ! $? = 0 ]; then error; fi
98 echo ------------------
99 echo cd ../../contrib/build/gizmos
100 cd ../../contrib/build/gizmos
101 $WXWIN/build/msw/.mymake $BUILD_TYPE $@
102 if [ ! $? = 0 ]; then error; fi
106 echo ------------------
107 echo cd ../../contrib/build/xrc
108 cd ../../contrib/build/xrc
109 $WXWIN/build/msw/.mymake $BUILD_TYPE $@
110 if [ ! $? = 0 ]; then error; fi
114 echo ------------------
115 echo cd ../../contrib/build/stc
116 cd ../../contrib/build/stc
117 $WXWIN/build/msw/.mymake $BUILD_TYPE $@
118 if [ ! $? = 0 ]; then error; fi
122 echo ------------------
123 echo cd ../../contrib/build/ogl
124 cd ../../contrib/build/ogl
125 $WXWIN/build/msw/.mymake $BUILD_TYPE CPPFLAGS="-DwxUSE_DEPRECATED=0" $@
126 if [ ! $? = 0 ]; then error; fi
131 echo -----------------
133 echo -----------------