doc/build.txt
changeset 934 1bfcc65213c7
parent 933 df68dad55087
child 935 53e1e53c373f
equal deleted inserted replaced
933:df68dad55087 934:1bfcc65213c7
    58     arguments.  This takes care of automatically modifying the the
    58     arguments.  This takes care of automatically modifying the the
    59     path for finding the ns3 dynamic libraries in the environment
    59     path for finding the ns3 dynamic libraries in the environment
    60     before running the program.  Note: the "program [args]" string is
    60     before running the program.  Note: the "program [args]" string is
    61     parsed using POSIX shell rules.
    61     parsed using POSIX shell rules.
    62 
    62 
    63  4.1 waf --run programname --command-template "... %s ..."
       
    64 
       
    65     Same as --run, but uses a command template with %s replaced by the
       
    66     actual program (whose name is given by --run).  This can be use to
       
    67     run ns-3 programs with helper tools.  For example, to run unit
       
    68     tests with valgrind, use the command:
       
    69 
       
    70          waf --run run-tests --command-template "valgrind %s"
       
    71 
       
    72  5. waf --shell
    63  5. waf --shell
    73     Starts a nested system shell with modified environment to run ns3 programs.
    64     Starts a nested system shell with modified environment to run ns3 programs.
    74 
    65 
    75  6. waf distclean
    66  6. waf distclean
    76     Cleans out the entire build/ directory
    67     Cleans out the entire build/ directory