configure.py
author Asher Baker <asherkin@gmail.com>
Mon Sep 03 13:43:02 2012 +0100 (2012-09-03)
changeset 803 90e35e1d67d3
parent 704 6055e296b807
child 821 b589eb17e403
permissions -rw-r--r--
Fixed include order issue introduced in 276192fd70a1 (bug 5079, bug 5469).
     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])