doc/tutorial/source/getting-started.rst
changeset 11047 259a56c15a37
parent 10609 4fe4f5afb5f3
child 11048 8a2ae153d4aa
--- a/doc/tutorial/source/getting-started.rst	Mon Nov 03 12:40:24 2014 -0800
+++ b/doc/tutorial/source/getting-started.rst	Tue Nov 04 09:30:54 2014 -0800
@@ -478,6 +478,29 @@
 Okay, sorry, I made you build the |ns3| part of the system twice,
 but now you know how to change the configuration and build optimized code.
 
+The build.py script discussed above supports also the ``--enable-examples``
+and ``enable-tests`` arguments, but in general, does not directly support
+other waf options; for example, this will not work:
+
+::
+
+  $ ./build.py --disable-python
+
+will result in
+
+::
+
+  build.py: error: no such option: --disable-python
+
+However, the special operator ``--`` can be used to pass additional
+options through to waf, so instead of the above, the following will work:
+
+::
+
+  $ ./build.py -- --disable-python   
+
+as it generates the underlying command ``./waf configure --disable-python``.
+
 Here are a few more introductory tips about Waf.
 
 Configure vs. Build