示例#1
0
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()
示例#2
0
文件: bdewscript.py 项目: ychaim/bde
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()
示例#3
0
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()