Index: src/applications/examples/wscript |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/src/applications/examples/wscript |
@@ -0,0 +1,11 @@ |
+## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
+ |
+def build(bld): |
+ if not bld.env['ENABLE_EXAMPLES']: |
+ return; |
+ |
+ obj = bld.create_ns3_program('advanced-on-off-example', ['csma', 'network', 'internet', 'applications']) |
+ obj.source = 'advanced-on-off-example.cc' |
+ |
+ obj = bld.create_ns3_program('cbr-example', ['csma', 'network', 'internet', 'applications']) |
+ obj.source = 'cbr-example.cc' |