configure.py
author Drifter <drifter01620@gmail.com>
Wed Jul 31 22:11:15 2013 -0400 (2013-07-31)
changeset 3965 86dedf4462d8
parent 3828 528fb63b2270
child 4182 8ef93b2feddf
permissions -rw-r--r--
Added CS_IsValidWeaponID native and validity checks to other natives (bug 5566, r=psychonic).
     1 # vim: set ts=2 sw=2 tw=99 noet:
     2 import sys
     3 import ambuild.runner as runner
     4 
     5 run = runner.Runner()
     6 run.options.add_option('--enable-debug', action='store_const', const='1', dest='debug',
     7                        help='Enable debugging symbols')
     8 run.options.add_option('--enable-optimize', action='store_const', const='1', dest='opt',
     9                        help='Enable optimization')
    10 run.options.add_option('--no-mysql', action='store_false', default=True, dest='hasMySql',
    11                        help='Disable building MySQL extension')
    12 run.options.add_option('-s', '--sdks', default='all', dest='sdks',
    13                        help='Build against specified SDKs; valid args are "all", "present", or '
    14                             'comma-delimited list of engine names (default: %default)')
    15 run.Configure(sys.path[0])