utils/wscript
author Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
Wed, 05 Sep 2007 18:35:39 +0100
changeset 1737 e72c130c3a59
parent 1727 064aaa84c103
parent 1220 4933e0890acd
child 1742 cf76416ce75b
permissions -rw-r--r--
merge with ns-3-dev

## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-


def build(bld):
    env = bld.env_of_name('default')

    unit_tests = bld.create_ns3_program('run-tests')
    unit_tests.install_var  = 0 # do not install
    unit_tests.unit_test    = 1 # runs on 'waf check'
    unit_tests.source = 'run-tests.cc'
    ## link unit test program with all ns3 modules
    unit_tests.uselib_local = 'ns3'
    
    obj = bld.create_ns3_program('bench-simulator', ['simulator'])
    obj.source = 'bench-simulator.cc'

    obj = bld.create_ns3_program('replay-simulation', ['simulator'])
    obj.source = 'replay-simulation.cc'