18 lines
411 B
Python
18 lines
411 B
Python
# vim: set ft=python:
|
|
# Eryn Wells <eryn@erynwells.me>
|
|
|
|
'''
|
|
Toplevel Scons build script. This should be mostly complete and generic enough
|
|
for most builds.
|
|
'''
|
|
|
|
import logging
|
|
|
|
setup_logging()
|
|
|
|
MODE = ARGUMENTS.get('MODE', None)
|
|
SUCCINCT = bool(ARGUMENTS.get('SUCCINCT', True))
|
|
|
|
for mode in (MODE.split(',') if MODE else ['debug']):
|
|
env = Environment.for_mode(mode, succinct=SUCCINCT)
|
|
env.process_src()
|