|
|
| 135 |
# create a new module. First arg is the name of |
135 |
# create a new module. First arg is the name of |
| 136 |
# the new module. Second arg is the directory in |
136 |
# the new module. Second arg is the directory in |
| 137 |
# which all source files for this module reside. |
137 |
# which all source files for this module reside. |
| 138 |
my_module = Ns3Module ('my', 'src/my_dir') |
138 |
my_module = build.Ns3Module ('my', 'src/my_dir') |
| 139 |
# add it to build system |
139 |
# add it to build system |
| 140 |
ns3.add (my_module) |
140 |
ns3.add (my_module) |
| 141 |
# specify module dependencies. Here, depends |
141 |
# specify module dependencies. Here, depends |