[Ns-developers] waf question
Gustavo Carneiro
gjcarneiro at gmail.com
Thu Jul 10 03:33:12 PDT 2008
2008/7/9 Raj Bhattacharjea <raj.b at gatech.edu>:
> I have some code I want to put into internet-stack that will run as a
> regression test. If I put it here and modify the
> internet-stack/wscript as usual, the code gets compiled and linked
> into the library, something we don't want. Is there anyway to tell
> waf I have some code NOT in the examples dir that should be built like
> the examples are built, and not linked into the lib?
You can create programs anywhere, that do not link to the ns3 lib, using the
usual WAF syntax, i.e. not with bld.create_ns3_program but with plain WAF
comands. For examples see e.g.
http://waf.googlecode.com/svn/branches/waf-1.4.2/demos/cpp/src/wscript
Now, if you want to make those programs visible to ./waf --run that is a
different matter. Is that what you really want? Generally is that what we
want, to make all programs visible to ./waf --run, or just some programs, if
so what is the criteria.
>
>
> --
> Raj Bhattacharjea
> Georgia Institute of Technology
> School of Electrical and Computer Engineering
> Systems Analyst
> 404.894.2955
>
--
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