| author | Nicholas Hastings <skamonkey@gmail.com> |
| Sat Jul 21 20:42:59 2012 -0400 (2012-07-21) | |
| changeset 788 | 2c5c43ee7e5e |
| parent 704 | 6055e296b807 |
| child 821 | b589eb17e403 |
| permissions | -rw-r--r-- |
| ds@704 | 1 |
# vim: set ts=2 sw=2 tw=99 noet: |
| ds@704 | 2 |
import sys |
| ds@704 | 3 |
import ambuild.runner as runner |
| ds@704 | 4 |
|
| ds@704 | 5 |
run = runner.Runner() |
| ds@704 | 6 |
run.options.add_option('--enable-debug', action='store_const', const='1', dest='debug', |
| ds@704 | 7 |
help='Enable debugging symbols') |
| ds@704 | 8 |
run.options.add_option('--enable-optimize', action='store_const', const='1', dest='opt', |
| ds@704 | 9 |
help='Enable optimization') |
| ds@704 | 10 |
run.Configure(sys.path[0]) |