示例#1
0
文件: builder.py 项目: tktk/dp.old3
def buildPartialLibrary(
    _ctx,
    _sourcesSet,
    _librariesSet,
    _libraryName,
    setupSources = set(),
    sources = set(),
    osSources = set(),
    libraries = set(),
    useModules = set(),
):
    common.buildPartialLibrary(
        _ctx,
        _sourcesSet,
        _librariesSet,
        common.generatePartialLibraryName( _libraryName ),
        _generateIncludes( _ctx ),
        _generateLibpath( _ctx ),
        _generateOsSources(
            _ctx,
            setupSources,
            _libraryName,
        ),
        _generateCommonSources(
            sources,
            _libraryName,
        ) | _generateOsSources(
            _ctx,
            osSources,
            _libraryName,
        ),
        libraries,
        { common.generatePartialLibraryName( i ) for i in useModules }
    )
示例#2
0
def buildPartialLibrary(
    _ctx,
    _sourcesSet,
    _libraryName,
    setupSources = set(),
    sources = set(),
    libraries = set(),
    useModules = set(),
):
    common.buildPartialLibrary(
        _ctx,
        _sourcesSet,
        common.generatePartialLibraryName( _libraryName ),
        _generateIncludes( _ctx ),
        _generateLibpath( _ctx ),
        _generateSources(
            setupSources,
            _libraryName,
        ),
        _generateSources(
            sources,
            _libraryName,
        ),
        libraries,
        useModules,
    )