]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/modules/buildall.py
Added a demo showing how to use wxPostEvent
[wxWidgets.git] / utils / wxPython / modules / 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 = ['html', 'glcanvas', 'utils', 'ogl', ] #'lseditor']
20
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)