Move example from core to point-to-point

This commit is contained in:
Mitch Watrous
2011-04-15 16:03:28 -07:00
parent 338eb54233
commit c3ebf91792
4 changed files with 11 additions and 3 deletions

View File

@@ -4,9 +4,6 @@ def build(bld):
if not bld.env['ENABLE_EXAMPLES']:
return;
obj = bld.create_ns3_program('main-attribute-value', ['network', 'point-to-point'])
obj.source = 'main-attribute-value.cc'
obj = bld.create_ns3_program('main-callback', ['core'])
obj.source = 'main-callback.cc'

View File

@@ -0,0 +1,8 @@
## -*- 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('main-attribute-value', ['network', 'point-to-point'])
obj.source = 'main-attribute-value.cc'

View File

@@ -26,4 +26,7 @@ def build(bld):
'helper/point-to-point-helper.h',
]
if (bld.env['ENABLE_EXAMPLES']):
bld.add_subdirs('examples')
bld.ns3_python_bindings()