configure.py
author Nicholas Hastings <skamonkey@gmail.com>
Wed Jul 31 06:49:21 2013 -0400 (2013-07-31)
changeset 850 3d9258ef9a30
parent 821 b589eb17e403
child 870 004b1437bd14
permissions -rw-r--r--
Split TF2, DoD:S, HL2:DM, and ND to separate binaries (bug 5667, r=asherkin).
     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('-s', '--sdks', default='all', dest='sdks',
    11                        help='Build against specified SDKs; valid args are "all", "present", or '
    12                             'comma-delimited list of engine names (default: %default)')
    13 run.Configure(sys.path[0])