Source

mana-core-testtools / wscript

Full commit
# -*- python -*-

import waflib.Logs as msg

PACKAGE = {
    'name': 'TestTools',
    'author': ['mana collaboration'],
}

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

def build(ctx):


    ctx.build_linklib(
        name     = 'TestTools',
        source   = '*.cxx',
        #defines  = ['PACKAGE_VERSION="v*"', 'PACKAGE_VERSION_UQ=v*'],
        use      = ['GaudiKernel', 'Reflex',
                    'boost_system', 'boost_filesystem', 'boost_regex', 'boost_thread',],
    )


    ctx.install_headers()
    ctx.build_pymodule(source=['python/*.py'])
    ctx.install_joboptions(source=['share/*.py'])
    ctx.install_scripts(source=['share/runUnitTests.sh', 'share/post.sh'])
    return
### EOF ###