]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/buildall.py
merged in the commit from the 2.2 branch
[wxWidgets.git] / wxPython / contrib / buildall.py
1 #!/usr/bin/env python
2 #----------------------------------------------------------------------------
3 # Name: buildall.py
4 # Purpose: Invokes the build script for all modules defined in
5 # MODULELIST
6 #
7 # Author: Robin Dunn
8 #
9 # Created: 18-Aug-1999
10 # RCS-ID: $Id$
11 # Copyright: (c) 1999 by Total Control Software
12 # Licence: wxWindows license
13 #----------------------------------------------------------------------------
14
15 import sys, os
16 sys.path.insert(0, '../distrib')
17 import build
18
19 MODULELIST = ['glcanvas', 'ogl', 'stc', ]
20 sys.argv[0] = '../../distrib/build.py'
21
22
23 for module in MODULELIST:
24 cwd = os.getcwd()
25 print "**** Building %s ****" % module
26 err = build.main([sys.argv[0], '-C', module] + sys.argv[1:])
27 os.chdir(cwd)
28 if err:
29 break
30
31 sys.exit(err)