[Ns-developers] linking delays for ns-3 examples

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Wed Jun 24 23:43:04 PDT 2009


On Wed, 2009-06-24 at 22:14 -0700, Tom Henderson wrote:
> I was about to add some more examples to ns-3 today and hesitated, 
> thinking "do I really want to increase everyone's linking delay by three 
> more programs every time ns-3 is built?"
> 
> I don't have any concrete suggestions other than perhaps not linking 
> every example program by default when ns-3 is built with "./waf" without 
> arguments.  Or is there a command already to just build libns3.so and 
> perhaps link the unit tests only?

I would expect that ./waf --check builds only the required binaries but
it does not appear to be the case. 

Did you try ./waf --run=run-tests ? The fact that it builds only what
you need to run the requested program is the biggest reason I use it
myself from time to time.

Mathieu



More information about the Ns-developers mailing list