configure.py
author Matt Woodrow <pred@alliedmods.net>
Fri Nov 19 18:16:24 2010 +1300 (2010-11-19)
changeset 3154 021f89d73ba0
parent 2787 84ae5e59dc0b
child 3810 f0393f7c8a9e
permissions -rw-r--r--
Why, oh why, do you do this to me gcc?
     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])