]>
git.saurik.com Git - wxWidgets.git/blob - distrib/scripts/build-windows.sh
2 #----------------------------------------------------------------------
6 if [ $skipwin != yes ]; then
7 # test if the target machine is online
8 #if ping -q -c1 $WIN_HOST > /dev/null; then
9 #echo " The $WIN_HOST machine is online, Windows build continuing..."
11 #echo "The $WIN_HOST machine is **OFFLINE**, skipping the Windows build."
15 echo "Copying source file and build script..."
16 scp
-r $STAGING_DIR/* $WIN_HOST:$WIN_BUILD
18 echo "Untarring dist on $WIN_HOST..."
19 wxtarball
=$WIN_BUILD/wxWidgets
-$BUILD_VERSION.
tar.gz
21 ssh $WIN_HOST "cd $WIN_BUILD && $cmd $wxtarball"
23 echo "Running build script on $WIN_HOST..."
24 wxdir
=$WIN_BUILD/wxWidgets
25 cmd
="./makesetup.sh --wxmsw --wxos2 --wxbase --wxall --no-inno"
26 ssh $WIN_HOST "cd $wxdir/distrib/scripts/msw && chmod +x makesetup.sh && WXWIN=$wxdir VERSION=$BUILD_VERSION $cmd"
28 echo "Fetching the results..."
29 scp
"$WIN_HOST:$wxdir/deliver/*.zip " $DIST_DIR
30 #ssh $WIN_HOST "rm $WIN_BUILD/wxPython*-win32*"