Commit Graph

730 Commits

Author SHA1 Message Date
Thomas Nagy 015ad7349b Write a different waf-print-msvc.py file each time to help debugging 2014-02-26 07:24:47 +01:00
Syl 300d0cf0bc fixed cpplint with -p command line parameter 2014-02-25 22:52:17 +01:00
Syl 45507b2cdf #1413: moved a test 2014-02-24 20:36:36 +01:00
Syl 33bd87417d fix #1413: added sanity tests for LIB and INCLUDE in boost tool. 2014-02-24 20:35:38 +01:00
Thomas Nagy afd9d8fae9 Issue 1412 - reduce multiple underscores to one in computed define names 2014-02-22 10:47:19 +01:00
Syl a8626ef19c boost: rolled back one of my previous patch, "s" for static needs to be passed by abi.
(for example, sgd for static debug)
2014-02-22 09:13:18 +01:00
Thomas Nagy 40673e8860 api fix - Issue 1410 2014-02-20 22:38:22 +01:00
Thomas Nagy f4185e7a26 Added global file installation pointcut 2014-02-17 00:26:58 +01:00
Syl 0e6728ea6e cpplint: fixed import, sry. 2014-02-16 01:47:18 +01:00
Thomas Nagy 87b447772a
Issue 1409 - syms for mac-o/darwin 2014-02-16 01:28:46 +01:00
Syl 67eebf06a0 cpplint: skip it if waf can't import the module 2014-02-15 13:04:44 +01:00
Syl ab108c002d boost: added "s" to lib pattern, to link with static lib 2014-02-15 13:01:26 +01:00
Syl b0330b0d5d boost: split env variable by ";" instead of space
allows to specify multiple path in INCLUDE and LIB
2014-02-15 11:09:37 +01:00
Joe Steeve 876d640d71 #1404, "boost tool misses libs in Debian multiarch (x86_64)", fixed
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2014-02-14 21:39:54 +01:00
Thomas Nagy fde332a58b Slightly better error messages 2014-02-14 21:25:38 +01:00
Syl 9febff1d4a cpplint: added --cpplint-output, if the user don't want to use my custom output (choices are vs7, emacs, eclipse, from original script)
cpplint: improved options to env parsing
2014-02-11 23:56:37 +01:00
Krzysztof Kosiński f88bf4f554 Fix defining the xxx_compiler variables in configure().
Due to recent changes, setting xxx_compiler in configure() had no effect.
This commit fixes the problem and changes the examples to show setting
the xxx_compiler variables at the top level of the wscript, so that
the default compilers are correctly reported in the help output.
2014-02-10 09:27:11 +01:00
Syl a71edf58e7 cpplint: changed the way to initialize env from options
cpplint: fixed --cpplint-break
2014-02-09 22:10:47 +01:00
Syl 610d0d59f2 Merge branch 'master' of https://code.google.com/p/waf 2014-02-08 21:04:00 +01:00
Syl c2d1e1b3e5 added cpplint tool 2014-02-08 20:57:46 +01:00
Thomas Nagy 1b49106197 Added a solver to distnet 2014-02-08 15:49:25 +01:00
Gustavo Carneiro 69fb126a4c Issue 1405 2014-02-04 10:55:26 +00:00
Thomas Nagy 45f0f3b77a Ported distnet to Python 3 2014-02-03 23:16:32 +01:00
Thomas Nagy 8faafeb913 Issue 1276 - suppress configuration outputs 2014-02-02 04:04:21 +01:00
Jérôme Carretero d15bf94934 add distnet extras tool, and assorted examples (WIP)
vs. builds on shared folders...
2014-02-01 14:41:05 -05:00
Thomas Nagy ff4b88c82f Removed unused variables from Task.py 2014-02-01 14:33:00 +01:00
Thomas Nagy 6e1e59a999 Do not print tasks that have nothing to display 2014-02-01 14:28:00 +01:00
Thomas Nagy e085c8d25d Moved the find_binary function into a replaceable method 2014-02-01 14:13:16 +01:00
Thomas Nagy 1018065c2e Disabled the duplicate flag filter in bld(...) 2014-01-30 21:37:00 +01:00
Thomas Nagy c8bc800432 A more robust way of sorting commands in remote.py 2014-01-30 08:07:07 +01:00
Krzysztof Kosiński 6f18c1bd99 Revert the prune_flags changes.
The changes break flags such as -framework X -framework Y.
2014-01-27 16:34:40 +01:00
Krzysztof Kosiński c9fe554af4 Fix typos in compiler_* tools.
Commit ca60d62bed contaied some errors resulting from copy-pasting
code around, which caused problems with D and Fortran compiler tools.
2014-01-27 16:20:01 +01:00
Krzysztof Kosiński 48a82dacbf ccroot: allow overriding the prune_flags setting
through a taskgen parameter
2014-01-27 16:12:02 +01:00
Krzysztof Kosiński 1e92b72aa6 ccroot: optional deduplication of command line flags.
Introduce a global variable in ccroot called prune_flags.
If set to "True", only the last repetition of each flag
will be left in the command line.
2014-01-27 04:46:14 +01:00
Krzysztof Kosiński 8147d0a18b Add support for parameter define_name to check_cfg 2014-01-27 03:45:35 +01:00
Krzysztof Kosiński 47bd581246 Modularize the tools 'glib2' and 'intltool'.
In some scenarios only some components of the glib2 tool are
necessary; for example, if intltool-merge is only used for
creating localized desktop files, it's not useful on Windows.

Rewrite the configuration function of the tools into several methods,
so that the 'funs' parameter can be used to only configure
specific programs from the tools.
2014-01-27 02:34:27 +01:00
Thomas Nagy d4b2f086a1 Enable automatic ssh host discovery in remote.py 2014-01-26 17:57:49 +01:00
Krzysztof Kosiński b0f8796a27 c_bgxlc: append rather than prepend the compiler 2014-01-26 05:12:56 +01:00
Krzysztof Kosiński f3c57157ea Revert "Rename the c_bgxlc tool to bgxlc." 2014-01-26 05:11:13 +01:00
Thomas Nagy 74b36a1002 Removed a warning in remote.py and ensured each variant runs a remote command 2014-01-25 23:58:41 +01:00
Thomas Nagy 4a0a7106c4 Do not climb if a command starts by 'configure' 2014-01-25 23:38:29 +01:00
Jérôme Carretero 173cd3beca add remote tool, for review 2014-01-25 16:55:03 -05:00
Krzysztof Kosiński 1986a6a80b Interpret leftover arguments containing an equals sign
as environment variable definitions rather than commands
2014-01-25 22:28:07 +01:00
Krzysztof Kosiński e4afaa957e Update default compilers in compiler_c and compiler_cxx
to include the clang tools
2014-01-25 22:12:29 +01:00
Krzysztof Kosiński b0b7227ddd Rename the c_bgxlc tool to bgxlc.
Tool names starting with "c_" are reserved for special tools.
2014-01-25 21:34:28 +01:00
Krzysztof Kosiński e95b150c56 Add simple compiler tools for clang and clang++ 2014-01-25 21:00:27 +01:00
Krzysztof Kosiński 30bdee769b Clean up some cruft in the compiler tools (icc, icpc, gxx) 2014-01-25 20:59:14 +01:00
Krzysztof Kosiński 82ab2fcaf5 Merge branch 'waf-1.8' of https://code.google.com/p/waf into waf-1.8 2014-01-25 20:35:48 +01:00
Krzysztof Kosiński 80b831a958 Improvements to conf.find_program()
1. When using a relative name passed through the environment,
search for it in PATH rather than using it as-is.
This is better, because PATH could have been changed.

2. Do not search for absolute paths in PATH.
2014-01-25 20:28:30 +01:00
Thomas Nagy 564c4c1a60 (keep the -1 in ansiterm for now) 2014-01-25 20:26:11 +01:00