Commit Graph

30 Commits

Author SHA1 Message Date
Gustavo J. A. M. Carneiro
0eca73234a WAF: add new bld.create_ns3_module() and bld.create_ns3_program() methods to make declaration of modules and programs simpler, and allowing us to change how ns-3 is built in a centralized way, without needing to change every module wscript file. 2007-08-08 15:10:36 +01:00
Gustavo J. A. M. Carneiro
f302d055e9 WAF: handle --doxygen before building; now only generates docs and does not build anything. 2007-08-08 12:36:59 +01:00
Gustavo J. A. M. Carneiro
7c001bf468 Detect when running waf --shell with stale environment variables and give an error when it happens. 2007-08-01 21:35:34 +01:00
Gustavo J. A. M. Carneiro
63cc2150a0 WAF: when changing environment (e.g. LD_LIBRARY_PATH for --run and --shell), make the new paths take precedence over the old ones. 2007-08-01 18:34:23 +01:00
Gustavo J. A. M. Carneiro
30b8b3c61f WAF: add a --command-template option to e.g. allow running programs with valgrind, gdb, etc. 2007-07-18 12:20:31 +01:00
Gustavo J. A. M. Carneiro
7a1c6388c2 Backed out changeset df68dad55087ea649a33f04e78b4ff4cf324acdd 2007-07-18 12:17:53 +01:00
Gustavo J. A. M. Carneiro
a694ccb39e WAF: add a --command-template option to e.g. allow running programs with valgrind, gdb, etc. 2007-07-18 11:43:39 +01:00
Gustavo J. A. M. Carneiro
5629eae3ae WAF: don't change CXXFLAGS if CXXFLAGS is set in the OS environment (so that user CXXFLAGS take precedence). 2007-07-10 13:42:23 +01:00
Gustavo J. A. M. Carneiro
496313f56b WAF: add debugging symbols to optimized builds 2007-07-10 13:37:17 +01:00
Gustavo J. A. M. Carneiro
3ce169b4e2 WAF: ignore errors on shutil.rmtree in dist_hook, so that waf dist works even when no docs were previously generated. 2007-07-09 14:36:40 +01:00
Gustavo J. A. M. Carneiro
65f894b7ac WAF: --run now runs the specified program from the directory where waf was invoked. 2007-07-08 12:24:22 +01:00
Gustavo J. A. M. Carneiro
de608e90c1 WAF: option --run now filters out programs not in the subtree starting at the launch dir 2007-07-07 18:10:54 +01:00
Gustavo J. A. M. Carneiro
0b32b0109f WAF: fix simple typo in error message. 2007-07-05 14:48:21 +01:00
Gustavo J. A. M. Carneiro
0f246d7f69 WAF: when the program specified by --run is not found, print a list of all available program names in the error message. 2007-07-05 14:44:00 +01:00
Gustavo J. A. M. Carneiro
d30f4d66de WAF: make the --run option work again 2007-07-05 14:38:39 +01:00
Gustavo J. A. M. Carneiro
ffa52a935a WAF: simplify --debug-level option to only have debug and optimized as possible values (debug becomes the former ultradebug); Add a warning to some options help text saying they only work in configure. 2007-06-21 12:26:46 +01:00
Gustavo J. A. M. Carneiro
4b4b121366 WAF: be careful not to set gcc-specific flags (like -Werror) when using a non-gcc compiler. 2007-06-21 11:59:55 +01:00
Gustavo J. A. M. Carneiro
3012f74206 WAF: configure dynamic path for the cygwin platform. 2007-06-21 00:38:58 +01:00
Gustavo J. A. M. Carneiro
e38244e7c0 WAF: add -Wall and -Werror to CXXFLAGS, like in the SCons build. 2007-06-13 18:34:05 +01:00
Gustavo J. A. M. Carneiro
da531b4aef WAF: process --run and --shell command-line options sooner, before running the build, since we may need a shell before the build finishes, in case the program to debug is part of the build itself. 2007-06-12 19:04:38 +01:00
Gustavo J. A. M. Carneiro
acbfbc29b3 WAF: add a dist_hook function to exclude the generated documentation from waf dist 2007-05-24 19:21:50 +01:00
Gustavo J. A. M. Carneiro
923f4aeb8f WAF: correct values of VERSION and APPNAME, for waf dist 2007-05-24 17:59:30 +01:00
Gustavo J. A. M. Carneiro
381103678d WAF: cleanup the main wscript file by moving the definition of the ns3header object type into src/wscript 2007-05-24 17:54:51 +01:00
Gustavo J. A. M. Carneiro
8cdcda24e1 WAF: remove the rpath options, and add --run and --shell as replacements; additionally, the new options "should" work on Mac OS X, as well as linux2 and win32. 2007-05-23 19:20:54 +01:00
Gustavo J. A. M. Carneiro
a28dd7dbc3 WAF: cleanup code by putting lcov and doxygen handling into their own separate functions 2007-05-23 17:32:32 +01:00
Gustavo J. A. M. Carneiro
d386be9d5d WAF: import the WAF subprocess replacement module 'pproc', to make it work on Python 2.3. 2007-05-17 18:22:10 +01:00
Gustavo J. A. M. Carneiro
b3b7a98b8e In WAF win32 builds, add -Wl,--enable-runtime-pseudo-reloc to LINKFLAGS to solve dll linking problems. 2007-05-17 17:02:03 +01:00
Gustavo J. A. M. Carneiro
96535936a5 Make WAF check for the abstract tool 'compiler_cxx', instead of manually checking for multiple compilers. 2007-05-17 14:22:27 +01:00
Gustavo J. A. M. Carneiro
ca2416f431 WAF: simplify wscripts using the new chained uselib_local dependencies feature of WAF SVN; now build all samples and examples; add --disable-rpath configure option; add WAF build instructions. 2007-05-13 12:46:18 +01:00
Gustavo J. A. M. Carneiro
b2a87732c9 Add support for building with WAF 2007-05-07 12:01:51 +01:00