configure.py
author Scott Ehlert <ds@alliedmods.net>
Fri Oct 30 14:04:43 2009 -0500 (2009-10-30)
changeset 2860 d8f31a35b1cb
parent 2787 84ae5e59dc0b
child 3810 f0393f7c8a9e
permissions -rw-r--r--
Use SOURCE_ENGINE_ORANGEBOXVALVE constant from MM:S 1.8 (bug 4087, r=dvander).
     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])