-Initial import
git-svn-id: http://svn.fuzzle.org/mloop/mloop/trunk@1 ba049829-c6ef-42ef-81ac-908dd8d2e907
This commit is contained in:
30
wscript
Normal file
30
wscript
Normal file
@@ -0,0 +1,30 @@
|
||||
#! /usr/bin/env python
|
||||
# encoding: utf-8
|
||||
|
||||
VERSION='0.0.1'
|
||||
APPNAME='mloop'
|
||||
|
||||
srcdir = '.'
|
||||
blddir = 'build'
|
||||
|
||||
def init():
|
||||
pass
|
||||
|
||||
def set_options(opt):
|
||||
opt.tool_options('compiler_cxx')
|
||||
|
||||
def configure(conf):
|
||||
conf.check_tool('compiler_cxx')
|
||||
conf.sub_config('src')
|
||||
|
||||
env = conf.env.copy()
|
||||
env.set_variant('debug')
|
||||
conf.set_env_name('debug', env)
|
||||
conf.setenv('debug')
|
||||
conf.env.CXXFLAGS = ['-Wall', '-g']
|
||||
|
||||
def build(bld):
|
||||
bld.add_subdirs('src')
|
||||
|
||||
for obj in bld.all_task_gen[:]:
|
||||
new_obj = obj.clone('debug')
|
Reference in New Issue
Block a user