Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(232)

Unified Diff: src/ltp-protocol/wscript

Issue 123190043: LTP final code review
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/ltp-protocol/wscript
===================================================================
new file mode 100755
--- /dev/null
+++ b/src/ltp-protocol/wscript
@@ -0,0 +1,46 @@
+# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
+
+# def options(opt):
+# pass
+
+# def configure(conf):
+# conf.check_nonfatal(header_name='stdint.h', define_name='HAVE_STDINT_H')
+
+def build(bld):
+ module = bld.create_ns3_module('ltp-protocol', ['core','internet','network'])
+ module.source = [
+ 'model/ltp-protocol.cc',
+ 'model/ltp-header.cc',
+ 'model/ltp-queue-set.cc',
+ 'model/ltp-session-state-record.cc',
+ 'model/ltp-udp-convergence-layer-adapter.cc',
+ 'model/ltp-convergence-layer-adapter.cc',
+ 'model/ltp-ip-resolution-table.cc',
+ 'helper/ltp-protocol-helper.cc',
+ ]
+
+ module_test = bld.create_ns3_module_test_library('ltp-protocol')
+ module_test.source = [
+ 'test/ltp-protocol-test-suite.cc',
+ 'test/ltp-protocol-channel-loss-test-suite.cc'
+ ]
+
+ headers = bld(features='ns3header')
+ headers.module = 'ltp-protocol'
+ headers.source = [
+ 'model/ltp-protocol.h',
+ 'model/ltp-queue-set.h',
+ 'model/ltp-header.h',
+ 'model/ltp-session-state-record.h',
+ 'model/ltp-session-state-record-impl.h',
+ 'model/ltp-udp-convergence-layer-adapter.h',
+ 'model/ltp-convergence-layer-adapter.h',
+ 'model/ltp-ip-resolution-table.h',
+ 'helper/ltp-protocol-helper.h',
+ ]
+
+ if bld.env.ENABLE_EXAMPLES:
+ bld.recurse('examples')
+
+ # bld.ns3_python_bindings()
+

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b