2010-05-14 07:34:36 +02:00
|
|
|
# vim: set ts=2 sw=2 tw=99 noet:
|
|
|
|
import sys
|
|
|
|
import ambuild.runner as runner
|
|
|
|
|
|
|
|
run = runner.Runner()
|
|
|
|
run.options.add_option('--enable-debug', action='store_const', const='1', dest='debug',
|
|
|
|
help='Enable debugging symbols')
|
|
|
|
run.options.add_option('--enable-optimize', action='store_const', const='1', dest='opt',
|
|
|
|
help='Enable optimization')
|
2013-03-24 05:12:16 +01:00
|
|
|
run.options.add_option('-s', '--sdks', default='all', dest='sdks',
|
|
|
|
help='Build against specified SDKs; valid args are "all", "present", or '
|
|
|
|
'comma-delimited list of engine names (default: %default)')
|
2010-05-14 07:34:36 +02:00
|
|
|
run.Configure(sys.path[0])
|