2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-12-01 22:40:46 +01:00
Commit Graph

27 Commits

Author SHA1 Message Date
Thomas Nagy
a01652d3c2 Conceal gccdeps/msvcdeps errors on inaccessible/unreadable files 2020-06-25 00:55:46 +02:00
Thomas Nagy
8b6786623d gccdeps/msvcdeps: renaming a header must rebuild silently #2293 2020-06-20 00:45:10 +02:00
Michael Vincent
44bb31da96 gccdeps: Add support for gas
Add support for generating and using gcc's native dependency files with
the GNU Assembler in addition to the existing C/C++ support.

When the gas and gccdeps tools are loaded, the configure step will test
whether gcc operating on an assembly file supports the -MMD argument.
If so, waf will pass the -MMD argument to .S files assembled with gcc
which will cause it to generate .d dependency files. Waf will then parse
those files for dependency information.

Note: This will only work for assembly files compiled through the gcc
frontend, not with GNU as directly. It also requires assembly files to
use the uppercase .S file extension.
2020-02-24 11:28:45 -06:00
Mickaël Schoentgen
412a9b819e Fix all DeprecationWarning: invalid escape sequence
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
2019-01-05 12:02:42 +01:00
Daniel Welty
4b905773ea Use correct variable in gccdeps config
The global value gccdeps was appended to CFLAGS and CXXFLAGS instead of
the actual flags tested against the compiler.  This ignored
modifications to the GCCDEPS_FLAGS environment variable and complicated
adding support for additional compilers at the project level.
2018-12-19 11:14:43 -06:00
Thomas Nagy
e64467892c
Warn against loading gccdeps/msvcdeps options 2017-09-23 09:21:14 +02:00
Thomas Nagy
b4485d8bb1
Warn for missing cflags/cxxflags in gccdeps 2017-02-14 22:46:46 +01:00
Thomas Nagy
195a3e6562
Remove an unnecessary gccdeps verification #1784 2016-07-28 22:22:52 +02:00
Thomas Nagy
3c2c6a62b0
Remove leftover 'print' statements 2016-07-27 20:22:48 +02:00
Thomas Nagy
7aaa7c14ba
Make gccdeps and msvcdeps compatible - #1780 2016-07-26 19:41:57 +02:00
Thomas Nagy
02a8361149
Beautify Logs.{debug,error,info,warn} now that the formatting bug is fixed 2016-05-28 16:18:51 +02:00
Thomas Nagy
2fb1e0cfb2
Let gccdeps work when a custom cwd is provided through bld.cwdx 2015-11-08 11:48:53 +01:00
Thomas Nagy
cf334db465
Use options.enable_gccdeps if provided by user scripts 2015-10-31 11:24:53 +01:00
Thomas Nagy
f28426594e
Cleanup: removed most unused variables and imports 2015-10-11 11:32:27 +02:00
Matt Fischer
2424393afd Handle .. within paths in gccdeps
The current code handles .. at the beginning of a path, but not within the path
2015-07-27 17:26:53 -05:00
Thomas Nagy
c47b9bcd85
Configuration test for gccdeps flags 2015-03-02 16:54:56 +01:00
Thomas Nagy
e8ae9c1a59
Enable gccdeps for clang too 2015-02-20 14:43:55 +01:00
Jérôme Carretero
a99ddb808f extras: gccdeps: fix for CXX_NAME (but some issues remain) 2014-01-02 06:24:52 -05:00
Thomas Nagy
6d570f08bd use os.remove instead of os.unlink for consistency 2013-05-18 19:51:45 +02:00
Daniel Welty
9e92489dbc gccdeps: Cache path to node lookup
The find_resource call is slow, so caching the resulting Node object
gives a significant speed up, about twice as fast.

Issue: 1244

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-01-04 18:24:40 +01:00
Thomas Nagy
2d05d44f16 Cleanup for Issue 1179 2012-07-13 19:56:38 +02:00
Matt Hoosier
c92db8a77e Allow gccdeps to work with other compilers too (Issue 1179)
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-07-13 19:52:16 +02:00
Thomas Nagy
a0f0878886 Issue 1162 2012-05-04 23:13:13 +02:00
Thomas Nagy
574ba5fe39 Issue 1162 2012-05-04 19:43:13 +02:00
ita
5cd41c2a98 Issue 1162 2012-05-04 14:32:25 +02:00
ita
2c4d772e3d Issue 1162 2012-05-04 09:25:48 +02:00
Thomas Nagy
44a967e326 Initial commit 2011-09-10 11:13:51 +02:00