f6bcfd974e
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
32 lines
822 B
Python
Executable File
32 lines
822 B
Python
Executable File
#!/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)
|