Source

mana-core-gaudialg / wscript

Full commit
# -*- python -*-

import waflib.Logs as msg

PACKAGE = {
    'name': 'GaudiAlg',
    'author': ['Gaudi collaboration'],
}

def pkg_deps(ctx):
    ctx.use_pkg('core/GaudiKernel')
    ctx.use_pkg('core/GaudiUtils')

    ctx.use_pkg('ext/aida')
    ctx.use_pkg('ext/boost')
    return

def configure(ctx):
    msg.debug ('[configure] package name: '+PACKAGE['name'])
    return

def build(ctx):

    ctx.build_linklib(
        name = 'GaudiAlgLib',
        source = 'lib/*.cpp',
        use = ['GaudiKernel',
               'GaudiUtilsLib',
               'AIDA',
               'boost',
               ]
        )

    ctx.build_complib(
        name = 'GaudiAlg',
        source = 'components/*.cpp',
        use  = ['GaudiKernel',
                'GaudiAlgLib',
                'AIDA',
                'boost',
                ]
        )

    return