コード例 #1
0
def LumberyardSharedLibrary(ctx, *k, **kw):
    """
    WAF Task Generator for shared c++ libraries
    """

    target = get_target(ctx, kw)
    platform, configuration = get_current_platform_configuration(ctx)

    additional_aliases = initialize_task_generator(ctx, target, platform, configuration, kw)

    configure_task_generator(ctx, target, kw)

    if not BuildTaskGenerator(ctx, kw):
        return None

    return RunTaskGenerator(ctx, *k, **kw)
コード例 #2
0
def LumberyardApplication(ctx, *k, **kw):
    """
    WAF Task Generator for c++ applications
    """
    target = get_target(ctx, kw)
    platform, configuration = get_current_platform_configuration(ctx)

    additional_aliases = initialize_task_generator(ctx, target, platform, configuration, kw)

    configure_task_generator(ctx, target, kw)

    append_kw_entry(kw, 'features', ['copy_3rd_party_binaries'])

    if not BuildTaskGenerator(ctx, kw):
        return None

    return RunTaskGenerator(ctx, *k, **kw)