mana-core-navigation / wscript

# -*- python -*-

import waflib.Logs as msg

PACKAGE = {
    'name': 'Navigation',
    'author': ['atlas collaboration'],
}

def pkg_deps(ctx):
    ctx.use_pkg('core/Control/CxxUtils')
    ctx.use_pkg('core/Control/DataModel')
    ctx.use_pkg('core/Control/SGTools')
    ctx.use_pkg('core/Control/AthenaKernel')

    ctx.use_pkg('core/GaudiKernel')

    ctx.use_pkg('core/AtlasTest/TestTools')
    
    ctx.use_pkg('ext/root') #reflex
    ctx.use_pkg('ext/uuid')
    return

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

def build(ctx):


    ctx.build_linklib(
        name     = 'Navigation',
        source   = '*.cxx',
        use      = ['DataModel', 'SGTools', 'CxxUtils', #'SGAudCore',
                    'AthenaKernel',
                    #'TestTools',
                    'GaudiKernel',
                    #'boost-filesystem', 'boost-system', 'boost-regex', 'boost-thread',
                    'Reflex',
                    'uuid',
                    ],
        )

    ctx.build_reflex_dict(
        name     = 'Navigation',
        source   = 'Navigation/NavigationDict.h',
        selection_file = 'Navigation/selection.xml',
        use      = ['DataModel', 'SGTools', 'CxxUtils', #'SGAudCore',
                    'AthenaKernel',
                    'Navigation',
                    'GaudiKernel',
                    ],
    )


    ctx.install_headers()


    ### --- tests -------------------------------------------------------------
    ctx.build_app(
        name     = 'NavigationToken_test',
        source   = 'test/NavigationToken_test.cxx',
        use      = ['Navigation', 'DataModel', 'SGTools', 'CxxUtils', 'SGAudCore', 'AthenaKernel',
                    'TestTools',
                    'GaudiKernel',
                    #'boost-filesystem', 'boost-system', 'boost-regex', 'boost-thread',
                    #'Reflex',
                    #'uuid',
                    ],
        do_test  = True,
        )

    ctx.build_app(
        name     = 'AthenaBarCodeImpl_test',
        source   = 'test/AthenaBarCodeImpl_test.cxx',
        use      = ['Navigation', 'DataModel', 'SGTools', 'CxxUtils', 'SGAudCore', 'AthenaKernel',
                    'TestTools',
                    'GaudiKernel',
                    #'boost-filesystem', 'boost-system', 'boost-regex', 'boost-thread',
                    #'Reflex',
                    #'uuid',
                    ],
        do_test  = True,
        )

    ctx.build_app(
        name     = 'NavigableIterator_test',
        source   = 'test/NavigableIterator_test.cxx',
        use      = ['Navigation', 'DataModel', 'SGTools', 'CxxUtils', 'SGAudCore', 'AthenaKernel',
                    'TestTools',
                    'GaudiKernel',
                    #'boost-filesystem', 'boost-system', 'boost-regex', 'boost-thread',
                    #'Reflex',
                    #'uuid',
                    ],
        do_test  = True,
        )

    return
### EOF ###
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.