]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/distrib/msw/.make
Add USE_GDIPLUS=1
[wxWidgets.git] / wxPython / distrib / msw / .make
index 11c54d30c9c6555a7f617e69fef43b74301b31b9..3625f944e551e5ee94932f06bd8ef37b18d816fa 100644 (file)
@@ -1,5 +1,6 @@
 #!/bin/bash
 
+# set -o xtrace
 
 function error {
     echo -----------------
@@ -79,58 +80,57 @@ fi
 
 
 echo ------------------
-WXWIN=`cygpath -m $WXWIN`
+echo cd $WXWIN/build/msw
 cd $WXWIN/build/msw
-
-echo mkdir -p $WXWIN/lib/vc_dll/$WXLIBDIR/wx
-mkdir -p $WXWIN/lib/vc_dll/$WXLIBDIR/wx
-echo nmake -f .makesetup.mk $WXWIN/lib/vc_dll/$WXLIBDIR/wx/setup.h
 nmake -f .makesetup.mk $WXWIN/lib/vc_dll/$WXLIBDIR/wx/setup.h
-
+if [ ! $? = 0 ]; then error 2; fi
 
 echo ------------------
 echo cd $WXWIN/build/msw
 cd $WXWIN/build/msw
 $WXWIN/build/msw/.mymake $BUILD_TYPE $@
-if [ ! $? = 0 ]; then error; fi
+if [ ! $? = 0 ]; then error 2; fi
 
 
 echo ------------------
 echo cd ../../contrib/build/gizmos
 cd ../../contrib/build/gizmos
 $WXWIN/build/msw/.mymake $BUILD_TYPE $@
-if [ ! $? = 0 ]; then error; fi
+if [ ! $? = 0 ]; then error 2; fi
 cd -
 
 
-echo ------------------
-echo cd ../../contrib/build/xrc
-cd ../../contrib/build/xrc
-$WXWIN/build/msw/.mymake $BUILD_TYPE $@
-if [ ! $? = 0 ]; then error; fi
-cd -
+echo ------------------
+# echo cd ../../contrib/build/animate
+# cd ../../contrib/build/animate
+$WXWIN/build/msw/.mymake $BUILD_TYPE $@
+# if [ ! $? = 0 ]; then error 2; fi
+cd -
 
 
 echo ------------------
 echo cd ../../contrib/build/stc
 cd ../../contrib/build/stc
 $WXWIN/build/msw/.mymake $BUILD_TYPE $@
-if [ ! $? = 0 ]; then error; fi
+if [ ! $? = 0 ]; then error 2; fi
 cd -
 
 
-echo ------------------
-echo cd ../../contrib/build/ogl
-cd ../../contrib/build/ogl
-$WXWIN/build/msw/.mymake $BUILD_TYPE CPPFLAGS="-DwxUSE_DEPRECATED=0" $@
-if [ ! $? = 0 ]; then error; fi
-cd -
+echo ------------------
+echo cd ../../contrib/build/ogl
+cd ../../contrib/build/ogl
+$WXWIN/build/msw/.mymake $BUILD_TYPE CPPFLAGS="-DwxUSE_DEPRECATED=0" $@
+# if [ ! $? = 0 ]; then error 2; fi
+cd -
 
 
 
 echo -----------------
 echo --   SUCCESS!  --
 echo -----------------
+# copy DLLs to a dir on the PATH
+# copy /U $WXWIN/lib/vc_dll/*.dll $WXWIN/BIN
+# copy /U $WXWIN/lib/vc_dll/*.pdb $WXWIN/BIN
 exit 0