Пример #1
0
def build( _ctx ):
    sources = {
        'main',
    }

    libraries = set()
    if _ctx.osName == common.WINDOWS:
        libraries |= {
            'opengl32',
        }

    libraries |= {
        common.generateCoreLibraryName( 'font' ),
        common.generateCppLibraryName( 'window' ),
        common.generateDpCoreLibraryName( 'opengl' ),
        common.generateDpCoreLibraryName( 'common' ),
        common.generateDpCoreLibraryName( 'file' ),
    }

    builder.build(
        _ctx,
        'font',
        sources,
        libraries = libraries,
    )
Пример #2
0
def build( _ctx ):
    sources = {
        'main',
    }

    libraries = {
        common.generateCoreLibraryName( 'common' ),
        common.generateCoreLibraryName( 'time' ),
    }

    builder.build(
        _ctx,
        'absolutetime',
        sources,
        libraries = libraries,
    )
Пример #3
0
def build(
    _ctx,
    _sourcesSet,
):
    sources = {
        'window',
        'windowinfo',
    }

    libraries = {
        common.generateCoreLibraryName( 'window' ),
        common.generateCoreLibraryName( 'common' ),
    }

    buildPartialLibrary(
        _ctx,
        _sourcesSet,
        'window',
        sources = sources,
        libraries = libraries,
    )
Пример #4
0
def build(
    _ctx,
    _sourcesSet,
):
    sources = {
        'audio',
        'audiooutputdevicemanager',
        'audiooutputdevicemanagerinfo',
        'audioplayer',
    }

    libraries = {
        common.generateCoreLibraryName( 'audio' ),
        common.generateCoreLibraryName( 'common' ),
    }

    buildPartialLibrary(
        _ctx,
        _sourcesSet,
        'audio',
        sources = sources,
        libraries = libraries,
    )
Пример #5
0
def build(
    _ctx,
    _sourcesSet,
):
    sources = {
        'gamepadmanagerinfo',
        'gamepadmanager',
        'gamepadinfo',
        'gamepad',
    }

    libraries = {
        common.generateCoreLibraryName( 'input' ),
        common.generateCoreLibraryName( 'common' ),
    }

    buildPartialLibrary(
        _ctx,
        _sourcesSet,
        'input',
        sources = sources,
        libraries = libraries,
    )
Пример #6
0
def build( _ctx ):
    sources = {
        'main',
    }

    libraries = {
        common.generateCoreLibraryName( 'common' ),
    }

    builder.build(
        _ctx,
        'thread',
        sources,
        libraries = libraries,
    )
Пример #7
0
def build( _ctx ):
    sources = {
        'main',
    }

    libraries = {
        common.generateCoreLibraryName( 'common' ),
        common.generateCppLibraryName( 'window' ),
    }

    builder.build(
        _ctx,
        'lock',
        sources,
        libraries = libraries,
    )
Пример #8
0
def build( _ctx ):
    sources = {
        'main',
    }

    libraries = {
        common.generateCppLibraryName( 'input' ),
        common.generateCoreLibraryName( 'input' ),
    }

    builder.build(
        _ctx,
        'gamepad',
        sources,
        libraries = libraries,
    )
Пример #9
0
def build( _ctx ):
    sources = {
        'main',
    }

    libraries = None
    if _ctx.osName == common.LINUX:
        libraries = set()
    elif _ctx.osName == common.WINDOWS:
        libraries = {
            'opengl32',
        }

    libraries |= {
        common.generateCoreLibraryName( 'opengl' ),
        common.generateCppLibraryName( 'window' ),
    }

    builder.build(
        _ctx,
        'opengl',
        sources,
        libraries = libraries,
    )