Federico Pellegrin
5ee61cfa91
qt5: improve documentation on library detection and options
2020-05-02 19:09:43 +02:00
Michael Vincent
d3c0017d21
msvcdeps: Tweak debug output
...
Print out which source file waf is gathering dependencies for and leave
the leading spaces in the dependency debug output because it can be
helpful to see the dependency hierarchy.
2020-05-02 19:09:34 +02:00
Mathieu Courtois
2a6817fa1c
boost: ignore version number from library name
2020-05-02 19:09:22 +02:00
Thomas Nagy
a910d07d55
Make the unit test result format API compatible with waf 2.0
2020-04-28 01:17:07 +02:00
ita1024
b599c8bb9d
Merge branch 'waf_unit_tg' into 'waf-2.1'
...
waf_unit_test: return also task generator in report tuples
See merge request ita1024/waf!2285
2020-04-27 22:56:38 +00:00
Federico Pellegrin
04e586b28a
waf_unit_test: correct also demos/playgrounds with addition of ut_task change
2020-04-24 08:52:01 +02:00
Federico Pellegrin
ba9ddfbfcb
waf_unit_test: return also test task in report tuples
2020-04-22 03:55:38 +02:00
Mathieu Courtois
186f627203
boost: fix removal of lib extension
2020-04-09 16:55:14 +02:00
Federico Pellegrin
0c616901b4
c_config: -flto and -fno-lto need to be passed also when linking
2020-03-27 20:20:30 +01:00
Thomas Nagy
4f8099fbdc
Improve custom option processing #2280
2020-03-27 20:20:22 +01:00
swaldhoer
93a0258996
Add support for clang++ on cygwin
2020-03-27 20:20:12 +01:00
Thomas Nagy
4bfab7f926
Remove the accidental gccdeps requirement
2020-03-27 20:20:00 +01:00
swaldhoer
02cff4a20c
add support for clang on cygwin
2020-03-27 20:19:49 +01:00
Michael Vincent
b7549d33ed
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-03-27 20:19:35 +01:00
Federico Pellegrin
405c322489
doxygen: add ext_int to force build ordering
2020-03-27 20:19:25 +01:00
Federico Pellegrin
0c855b0aa2
javatest: add dependency management for jar/java taskgens
2020-01-04 11:31:25 +01:00
Federico Pellegrin
c438138476
javaw: fix buglet overwrites working variable while adding dependencies
...
variable x is used in the outer loop and gets corrupted by inner enumeration in case of non-jar dependency
to reproduce: use the demos/java and run waf build twice: the first time will work (since no class files around)
while the second will not since will by bad luck pick a class file in the inner loop
2020-01-04 11:31:15 +01:00
Morten V. Pedersen
3204e2597c
Using suggested self.cmd.startswith approach
2020-01-02 19:58:25 +01:00
Morten V. Pedersen
058b5d3793
Fix detection of build context when a custom context is used
2020-01-02 19:58:18 +01:00
Thomas Nagy
ce2e5ca9a2
Exclude ConfigSet from altering ConfigurationContext.run_build caches #2273
2019-12-20 07:57:20 +01:00
Thomas Nagy
13d9c8566c
Reduce relative path lengths to work around Visual Studio limitations #2272
2019-12-18 07:27:03 +01:00
Thomas Nagy
07d3203e0b
Make multicheck collisions less likely
2019-12-14 23:49:24 +01:00
Thomas Nagy
35617abe5e
Remove another sys.platform == win32
2019-12-11 19:51:49 +01:00
Thomas Nagy
015a51a7cf
Split llvm-lib path discovery into its own function
2019-12-11 07:42:02 +01:00
Thomas Nagy
52a49960c1
Improve extras/clang_cl
2019-12-10 07:53:23 +01:00
Adriano Scoditti
e3c275a96a
Make distclean target 'no_lock_in_top/run' modifiers compatible with env vars
2019-12-10 07:32:16 +01:00
Thomas Nagy
bab51bf9f4
Remove conf.find_cpp from irix compiler detection
2019-12-10 07:32:08 +01:00
Thomas Nagy
5ec740ad2e
Update irixcc
2019-12-10 07:32:01 +01:00
ita1024
73d432eb0a
Merge branch 'clang_cl2' into 'waf-2.1'
...
Clang-cl support
See merge request ita1024/waf!2273
2019-12-10 06:29:06 +00:00
Rafaël Kooi
c4f18f8182
Add a ReadMe and example environment for clang-cl on Linux
2019-12-10 05:07:35 +01:00
Rafaël Kooi
273d9dbe73
Add a small example utilizing clang-cl
2019-12-10 05:07:35 +01:00
Rafaël Kooi
32c2a49bf0
Support pure clang-cl builds on not Windows
...
A.k.a. I just tested it on Linux.
2019-12-10 05:07:35 +01:00
Rafaël Kooi
7310ade7c3
Initial clang-cl support
2019-12-10 05:07:35 +01:00
Rafaël Kooi
9fee4dfa75
Ignore VIM temporary files and Windows waf unpacks
2019-12-10 04:55:31 +01:00
Severin Strobl
799001bfae
Support versioned shared libraries.
...
Shared libraries often use a suffix encoding their version which should
be handled when parsing linker flags.
2019-11-24 09:07:58 +01:00
Thomas Nagy
d97ac90419
Improve the Qt5 fPIC/fPIE detection
2019-11-16 18:47:34 +01:00
Thomas Nagy
b27afc7bbc
Use task.get_cwd() in clang_compilation_database
2019-11-10 19:01:38 +01:00
ita1024
11f449ee57
Merge branch 'FixTypo' into 'waf-2.1'
...
Add back an accidentally deleted line clang_compilation_database.py
See merge request ita1024/waf!2269
2019-11-10 14:49:14 +00:00
Rafaël Kooi
5343e8547a
Add back an accidentally deleted line clang_compilation_database.py
2019-11-10 15:45:36 +01:00
Thomas Nagy
394f3cdac8
Typo
2019-11-10 12:34:36 +01:00
Thomas Nagy
16dbeb73e8
Fix relative path comparisons in clang_compilation_database
2019-11-10 12:32:20 +01:00
Thomas Nagy
38b6f24d73
Update msvc_pdb.py from the master branch
2019-11-10 10:41:25 +01:00
Thomas Nagy
e485b45472
Remove the dependency on Qt5Gui in the Qt5 detection
2019-11-10 10:39:39 +01:00
Federico Pellegrin
26309403fd
Tools/c_config.py: update to documentation
2019-11-07 07:07:44 +01:00
261a589a66
msvc_pdb: check compiled_tasks existence, so it will not misleadingly throw a stacktrace if no sources was added
2019-11-04 21:26:29 +01:00
Federico Pellegrin
64b74c7659
playground/swig: clean up java swig example
2019-11-04 21:26:13 +01:00
Thomas Nagy
142fe5016a
The future version will be 2.1.0
2019-11-03 10:45:20 +01:00
Thomas Nagy
4e171c87ad
Improve os.environ propagation #2264
2019-11-03 10:24:13 +01:00
Thomas Nagy
b8f19bfea3
Improve cache activity verbosity
2019-10-29 07:31:41 +01:00
Thomas Nagy
a6ff2fc274
Push wafcache files synchronously for now
2019-10-23 19:53:18 +02:00