Source

go-hepmc / wscript

Full commit
#

top = '.'
out = '__build__'

def options(ctx):
    ctx.load('go')
    pass

def configure(ctx):
    ctx.load('go')
    ctx.load('gcc')
    ctx.load('c')
    
def build(ctx):

    if 0:
        ctx(
            features='cgopackage',
            name='go-hepmc',
            source='pkg/hepmc.go',
            target='hepmc',
            use=['c-hepmc',],
            lib=['gfortran','m'],
            )

    ctx(
        features='cgopackage',
        name='go-hepmcio',
        source='pkg/hepmcio.go',
        target='hepmcio',
        use=['c-hepmcio','c-hepevt', 'f-hepevt',],
        )