Bugzilla – Bug 1004
module header not rebuilt
Last modified: 2010-11-27 09:30:27 UTC
Here's a test scenario for the build system that gives me wrong behavior. Say you go to a module's directory, say: src/mobility for the sake of discussion. Open the wscript file in that directory and add two files, say, bogus.cc and bogus.h to each respective list. Create these files in src/mobility so that they contain innocuous code that compiles without errors. Then, from your installation root, run: ./waf build. Once that is done, check out what appears in build/debug/ns3/mobility-module.h. It's likely that you won't see bogus.h in this header file. I've tried this with a new module (something I added) and then with an existing module (that is, mobility). The results were consistent in being wrong in both cases. The only way that I managed to get the module's header to include the added files was to build after cleanup. Felipe
changeset: 6671:b3d5193a2f94 tag: tip user: Gustavo J. A. M. Carneiro <gjc@inescporto.pt> date: Sat Nov 27 14:29:45 2010 +0000 summary: Bug 1004 - module header not rebuilt