[Ns-developers] Compiling Programs Without libns3 Dependency

Gustavo Carneiro gjcarneiro at gmail.com
Thu Oct 30 04:59:00 PDT 2008


2008/10/29 Joseph Kopena <tjkopena at cs.drexel.edu>

> Hi all,
>
> Probably a simple question, but I don't have enough of a handle on waf
> for it: How may I compile a program within the ns3 waf script, but
> without linking it against ns3?  You might want to do this, for
> example, in building a utility program that's part of some module but
> doesn't actually need the ns3 library or code.  I could not tell if
> there is some generic version of 'create_ns3_program' which that
> function extends and seems to be what I want.
>

Indeed.

Check the WAF examples:


http://code.google.com/p/waf/source/browse/branches/waf-1.4.2/demos/cpp/src/wscript

I'm sure you'll find what you need there.

Regards,

-- 
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert


More information about the Ns-developers mailing list