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

Unified Diff: src/bundle-protocol/wscript

Issue 38130049: SOCIS2013 bundle protocol (first code review)
Patch Set: Created 10 years, 3 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
« no previous file with comments | « src/bundle-protocol/test/bundle-protocol-test-suite.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/bundle-protocol/wscript
===================================================================
new file mode 100644
--- /dev/null
+++ b/src/bundle-protocol/wscript
@@ -0,0 +1,48 @@
+# -*- 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('bundle-protocol', ['core', 'network','internet'])
+ module.source = [
+ 'model/bp-cla-protocol.cc',
+ 'model/bp-tcp-cla-protocol.cc',
+ 'model/bp-endpoint-id.cc',
+ 'model/bp-header.cc',
+ 'model/bp-payload-header.cc',
+ 'model/bundle-protocol.cc',
+ 'model/bp-routing-protocol.cc',
+ 'model/bp-static-routing-protocol.cc',
+ 'helper/bundle-protocol-helper.cc',
+ 'helper/bundle-protocol-container.cc',
+ ]
+
+ module_test = bld.create_ns3_module_test_library('bundle-protocol')
+ module_test.source = [
+ 'test/bundle-protocol-test-suite.cc',
+ ]
+
+ headers = bld(features='ns3header')
+ headers.module = 'bundle-protocol'
+ headers.source = [
+ 'model/bp-cla-protocol.h',
+ 'model/bp-tcp-cla-protocol.h',
+ 'model/bp-endpoint-id.h',
+ 'model/bp-header.h',
+ 'model/bp-payload-header.h',
+ 'model/bundle-protocol.h',
+ 'model/bp-routing-protocol.h',
+ 'model/bp-static-routing-protocol.h',
+ 'helper/bundle-protocol-helper.h',
+ 'helper/bundle-protocol-container.h',
+ ]
+
+ if bld.env.ENABLE_EXAMPLES:
+ bld.recurse('examples')
+
+ # bld.ns3_python_bindings()
+
« no previous file with comments | « src/bundle-protocol/test/bundle-protocol-test-suite.cc ('k') | no next file » | no next file with comments »

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