configure.py
author Nicholas Hastings <skamonkey@gmail.com>
Wed Aug 14 14:20:57 2013 -0400 (2013-08-14)
changeset 4008 490b01aa0683
parent 3828 528fb63b2270
child 4182 8ef93b2feddf
permissions -rw-r--r--
Updated some CS:GO gamedata.
     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])