|
|
| 319 |
|
319 |
|
| 320 |
def build(bld): |
320 |
def build(bld): |
| 321 |
if Options.options.no_task_lines: |
321 |
if Options.options.no_task_lines: |
| 322 |
import Runner |
|
|
| 323 |
def null_printout(s): |
322 |
def null_printout(s): |
| 324 |
pass |
323 |
pass |
| 325 |
Runner.printout = null_printout |
324 |
bld.printout = null_printout |
|
|
325 |
else: |
| 326 |
def stderr_printout(s): |
| 327 |
sys.stderr.write(s) |
| 328 |
bld.printout = stderr_printout |
| 326 |
|
329 |
|
| 327 |
Options.cwd_launch = bld.path.abspath() |
330 |
Options.cwd_launch = bld.path.abspath() |
| 328 |
bld.create_ns3_program = types.MethodType(create_ns3_program, bld) |
331 |
bld.create_ns3_program = types.MethodType(create_ns3_program, bld) |
|
|
| 347 |
doxygen() |
350 |
doxygen() |
| 348 |
raise SystemExit(0) |
351 |
raise SystemExit(0) |
| 349 |
|
352 |
|
| 350 |
print "Entering directory `%s'" % os.path.join(bld.path.abspath(), 'build') |
353 |
print >> sys.stderr, "Entering directory `%s'" % os.path.join(bld.path.abspath(), 'build') |
| 351 |
# process subfolders from here |
354 |
# process subfolders from here |
| 352 |
bld.add_subdirs('src') |
355 |
bld.add_subdirs('src') |
| 353 |
bld.add_subdirs('samples utils examples') |
356 |
bld.add_subdirs('samples utils examples') |