X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a693e6e0460b6b3c32e4b6f114a3ab7b7cd24ea..f6bcfd974ef26faf6f91a62cac09827e09463fd1:/wxPython/contrib/buildall.py diff --git a/wxPython/contrib/buildall.py b/wxPython/contrib/buildall.py new file mode 100755 index 0000000000..561f3bbac1 --- /dev/null +++ b/wxPython/contrib/buildall.py @@ -0,0 +1,31 @@ +#!/usr/bin/env python +#---------------------------------------------------------------------------- +# Name: buildall.py +# Purpose: Invokes the build script for all modules defined in +# MODULELIST +# +# Author: Robin Dunn +# +# Created: 18-Aug-1999 +# RCS-ID: $Id$ +# Copyright: (c) 1999 by Total Control Software +# Licence: wxWindows license +#---------------------------------------------------------------------------- + +import sys, os +sys.path.insert(0, '../distrib') +import build + +MODULELIST = ['glcanvas', 'ogl', 'stc', ] +sys.argv[0] = '../../distrib/build.py' + + +for module in MODULELIST: + cwd = os.getcwd() + print "**** Building %s ****" % module + err = build.main([sys.argv[0], '-C', module] + sys.argv[1:]) + os.chdir(cwd) + if err: + break + +sys.exit(err)