configure.py
author Nicholas Hastings <skamonkey@gmail.com>
Mon Dec 17 14:34:44 2012 -0500 (2012-12-17)
changeset 3710 5559ea22b6b5
parent 2787 84ae5e59dc0b
child 3810 f0393f7c8a9e
permissions -rw-r--r--
Validate entity in GameRules_GetPropEnt and in CS_DropWeapon safety checks.
     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.Configure(sys.path[0])