Move example from core to point-to-point
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
8
src/point-to-point/examples/wscript
Normal file
8
src/point-to-point/examples/wscript
Normal 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'
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user