src/common/wscript
author Guillaume Seguin <guillaume@segu.in>
Thu, 13 Aug 2009 12:54:21 +0200
changeset 4711 3c9b7588ea4c
parent 4502 07d34c0d8d18
child 4739 256a085d82d6
child 5152 f14eff131d13
permissions -rw-r--r--
add an ascii writer class

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

def build(bld):
    common = bld.create_ns3_module('common', ['core', 'simulator'])
    common.source = [
        'buffer.cc',
        'packet-metadata.cc',
        'packet-metadata-test.cc',
        'packet.cc',
        'chunk.cc',
        'header.cc',
        'trailer.cc',
        'pcap-writer.cc',
        'data-rate.cc',
        'error-model.cc',
        'tag.cc',
        'byte-tag-list.cc',
        'tag-buffer.cc',
        'packet-tag-list.cc',
        'ascii-writer.cc',
        ]

    headers = bld.new_task_gen('ns3header')
    headers.module = 'common'
    headers.source = [
        'buffer.h',
        'chunk.h',
        'header.h',
        'trailer.h',
        'packet.h',
        'packet-metadata.h',
        'pcap-writer.h',
        'data-rate.h',
        'error-model.h',
        'tag.h',
        'byte-tag-list.h',
        'tag-buffer.h',
        'packet-tag-list.h',
        'ascii-writer.h',
        ]