medit/moo.proj

40 lines
1.3 KiB
Plaintext
Raw Normal View History

2005-11-16 23:04:35 -08:00
from project.cproject import *
from project.cconfig import *
class MooProj(CProject):
def __init__(self, *args, **kwargs):
CProject.__init__(self, *args, **kwargs)
self.config.make_options = MakeOptions(n_jobs=3)
runopt = RunOptions(exe='medit', args='--g-fatal-warnings')
confopt = ConfigureOptions(args='--enable-debug=full --enable-all-gcc-warnings',
2005-11-16 23:04:35 -08:00
cflags='-O0 -g3 -pg')
debug = BuildConfiguration('debug',
build_dir='build/debug',
configure_options=confopt,
run_options=runopt)
self.config.add_conf(debug)
runopt = RunOptions(exe='medit')
confopt = ConfigureOptions(args='--enable-all-gcc-warnings ',
2005-11-16 23:04:35 -08:00
cflags='-O2 -g')
optim = BuildConfiguration('optimized',
build_dir='build/optimized',
configure_options=confopt,
run_options=runopt)
self.config.add_conf(optim)
__project__ = MooProj
__version__ = "1.0"
__name__ = "moo"
__config__ = \
"""<cconfig version="1.0">
<active-configuration>debug</active-configuration>
</cconfig>
"""
# kate: lang python; indent-width 4; space-indent on; strip on