configure.py
author Ruben Gonzalez <drifter01620@gmail.com>
Fri Mar 22 14:59:00 2013 -0400 (2013-03-22)
changeset 139 df5cbb604269
parent 59 41feee1fac07
permissions -rw-r--r--
Update code to use SourceHooks function.
     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])