def build(ctx): if ctx.cmd == "msvs" or ctx.cmd == "msvs2008": if ctx.options.test: ctx.waf_command = 'waf.bat --test=%s' % ctx.options.test ctx.projects_dir = ctx.srcnode.make_node('.depproj') ctx.projects_dir.mkdir() bde_build = BdeWafBuild(ctx) bde_build.build()
def build(ctx): if ctx.cmd == "msvs" or ctx.cmd == "msvs2008": if ctx.options.test: ctx.waf_command = 'waf.bat --test=%s' % ctx.options.test ctx.projects_dir = ctx.srcnode.make_node('.depproj') ctx.projects_dir.mkdir() if ctx.cmd == 'build': print 'Waf: using %d jobs (change with -j)' % ctx.options.jobs bde_build = BdeWafBuild(ctx) bde_build.build()