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
eb9bf12473
added a note regarding the branch waf-1.7
2014-01-26 01:27:02 +01:00
Krzysztof Kosiński
38d6ae7d57
Merge master into waf-1.8, without changing contents
2014-01-26 01:05:02 +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
Thomas Nagy
d897666aa7
ansiterm fix: use FillConsoleOutputCharacterW instead of FillConsoleOutputCharacterA
2014-01-25 20:02:20 +01:00
Thomas Nagy
1b534ee8d2
ansiterm fix: use FillConsoleOutputCharacterW instead of FillConsoleOutputCharacterA
2014-01-25 19:59:51 +01:00
Krzysztof Kosiński
9a824a5649
Fix missing module import in compiler_c
2014-01-25 19:31:11 +01:00
Krzysztof Kosiński
c38a4fb4f0
More consistent error messages in the generic compiler tools
2014-01-25 19:28:55 +01:00
Krzysztof Kosiński
86b87413c8
Always return a value which evaluates to True when check_cfg succeeds.
2014-01-25 19:12:44 +01:00
Krzysztof Kosiński
ca60d62bed
Modify the generic compiler tools to use the "Configuration options" group.
...
Add a mechanism to set the compiler precedence for D, for consistency.
2014-01-25 18:50:04 +01:00
Krzysztof Kosiński
cffbb89cb4
Move the initialization of default options from opt_parser
...
to OptionsContext, so that tools can add options to the default
option groups without using black magic.
2014-01-25 18:28:14 +01:00
Krzysztof Kosiński
f386392fb2
Change the option group for glib2 schema dir to be the same
...
as the one for gnu_dirs installation directories.
2014-01-25 18:24:51 +01:00
Krzysztof Kosiński
526abea553
Improve the directory descriptions in gnu_dirs
2014-01-25 18:23:07 +01:00
Thomas Nagy
c395bffed8
Workaround for Issue 1401 - the progress bar cannot display the last character on windows
2014-01-25 02:02:28 +01:00
Krzysztof Kosiński
303c6113fa
Always return a value which evaluates to True when check_cfg succeeds.
2014-01-25 01:35:47 +01:00
Thomas Nagy
d413616400
The progress bar should always appear on stderr
2014-01-23 22:22:15 +01:00
Thomas Nagy
cb98fcf6cc
Issue 1399 - invalid cast in syms.py
2014-01-23 21:20:57 +01:00
Thomas Nagy
2943824c51
Issue 1399 - invalid cast in syms.py
2014-01-23 21:19:57 +01:00
Thomas Nagy
3498ef6773
info to stdout, warning and errors to stderr
2014-01-19 21:28:17 +01:00
Thomas Nagy
d2f265c8c7
'x use y use AAA' will add the AAA flags to x, but 'x use y uselib AAA' will not
2014-01-18 01:47:29 +01:00
Thomas Nagy
fa8fed39a0
'x use y use AAA' will add the AAA flags to x, but 'x use y uselib AAA' will not
2014-01-18 01:46:53 +01:00
Thomas Nagy
fbb7a0e720
Merge from Jerome's branch
2014-01-16 02:03:53 +01:00
Thomas Nagy
0c3ab4ce21
waf 1.7.15
2014-01-14 21:12:21 +01:00
Matt Fischer
2f2866a4cd
msvs: Added support for MSVS 2012
...
With the addition of one new field, the project files generated by
the msvs command can be opened by 2012 as well as 2010.
Change-Id: I27c3a04ec156029f7a6690b27cf27013f5816d2f
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2014-01-14 20:26:09 +01:00
Matt Fischer
f63ac9793d
msvs: Added support for MSVS 2012
...
With the addition of one new field, the project files generated by
the msvs command can be opened by 2012 as well as 2010.
Change-Id: I27c3a04ec156029f7a6690b27cf27013f5816d2f
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2014-01-14 20:25:37 +01:00
Thomas Nagy
e055513883
waf 1.7.15
2014-01-14 20:14:35 +01:00
Thomas Nagy
9f7ceb0e91
Issue 1395
2014-01-14 20:11:11 +01:00
Thomas Nagy
acb3b406a4
Issue 1395
2014-01-14 20:10:23 +01:00
Thomas Nagy
835528be01
docs for the regexp substitution in demos/subst/
2014-01-14 20:01:05 +01:00
Thomas Nagy
37f051a3a2
Enable custom regexp in bld(features='subst', re_m4=...)
2014-01-14 19:59:22 +01:00
Thomas Nagy
3581b89fbb
Enable custom regexp in bld(features='subst', re_m4=...)
2014-01-14 19:58:45 +01:00
Thomas Nagy
a29f775851
Merge from Jerome's branch
2014-01-14 02:31:08 +01:00