Commit Graph

10 Commits

Author SHA1 Message Date
Peter D. Barnes, Jr
9ddd31c6f9 More flexible create-module.py script
Changed the default creation directory from src/ to contrib/
  Moved create-modules.py from src/ to utils/

Added two new optional command line arguments: --project and --use-src-dir
--project specifies a directory name or path under which the new modules
will be created.
--use-src-dir directs the script to create new modules in the src
directory instead of contrib.  This argument cannot be combined
with --project.

Updated contrib/wscript to search for modules at
arbitrary depths instead of just the child directories under
contrib.

Assume the following directory structure:
contrib/
  project1/
    module1/
      wscript
    module2/
      wscript
  project2/
    sub_project1/
      	module3/
        	wscript
      	module4/
        	wscript
    sub_project2/
      	module5/
        	wscript
      	module6/
        	wscript
    data/
  module7/
    wscript

waf configure will discover the following modules under contrib:
project1/module1
project1/module2
project2/sub_project1/module3
project2/sub_project1/module4
project2/sub_project2/module5
project2/sub_project2/module6
module7
2020-05-20 13:55:28 -07:00
Alexander Krotov
8d1b7b1391 Spellcheck the rest of ns-3 2018-06-28 12:51:39 +03:00
Peter D. Barnes, Jr.
cd94f509c3 [Sphinx] Minor corrections, fix errors in energy.rst 2014-11-12 12:08:53 -08:00
Tom Henderson
47b12b8bec update documentation for generating new modules 2013-10-22 08:12:46 -07:00
Peter D. Barnes, Jr.
9f77e699cb Manual and Tutorial syntax coloring 2013-07-17 17:09:36 -07:00
Tom Henderson
a4899d7656 update documentation on creating new modules 2011-12-18 21:30:46 -08:00
Andrey Mazo
f0eeb738ad documentation fixes 2011-05-25 08:57:47 +04:00
Mitch Watrous
ce0ee37c31 More edits for manual chapter about adding new modules 2011-05-13 12:37:28 -07:00
Mitch Watrous
5508c40dd3 Edit manual chapter about adding new modules 2011-05-13 09:50:22 -07:00
Mitch Watrous
1717d90e90 Add manual chapter for adding new modules 2011-05-12 14:13:48 -07:00