| author | Dr!fter <drifter01620@gmail.com> |
| Sat Aug 16 17:21:10 2014 -0400 (2014-08-16) | |
| changeset 75 | e6ddc8400a1c |
| parent 28 | dc8f2d4b515d |
| permissions | -rw-r--r-- |
| danderson@28 | 1 |
# vim: set ts=2 sw=2 tw=99 noet: |
| danderson@28 | 2 |
import sys |
| danderson@28 | 3 |
import ambuild.runner as runner |
| danderson@28 | 4 |
|
| danderson@28 | 5 |
run = runner.Runner() |
| danderson@28 | 6 |
run.options.add_option('--enable-debug', action='store_const', const='1', dest='debug', |
| danderson@28 | 7 |
help='Enable debugging symbols') |
| danderson@28 | 8 |
run.options.add_option('--enable-optimize', action='store_const', const='1', dest='opt', |
| danderson@28 | 9 |
help='Enable optimization') |
| danderson@28 | 10 |
run.Configure(sys.path[0]) |