Federico Pellegrin
47d097d5a0
waf_unit_test: make sure test is rerun if ut_str changes
2020-11-01 21:19:38 +01:00
Thomas Nagy
cc03657db7
Invalidate previous configurations on "waf configure"
...
Previously-configured projects are now invalidated when
running "waf configure" so that subsequent builds
cannot continue.
2020-09-19 10:38:05 +02:00
Thomas Nagy
2b03690f02
The lrelease program is necessary, not lupdate
2020-09-19 10:09:45 +02:00
Thomas Nagy
e73e8d680a
Fail Qt5 detection immediately when the c++ compiler is missing
2020-09-19 08:49:05 +02:00
Thomas Nagy
3b41d92e3c
Make sure lupdate is explicitly required
2020-09-19 08:40:44 +02:00
Dotan Cohen
6fba8d3742
Update tutorial.rst to clarify that the env attribute is shared between the cnf and bld parameters to their respective methods.
2020-09-06 20:00:37 +02:00
Dotan Cohen
2831c75093
Update tutorial.rst to use uniform parameter names in all places where the configure() method or its parameter is mentioned.
2020-09-06 20:00:29 +02:00
Thomas Nagy
ea509dd782
Determine a suitable msvc version option from VSCMD_VER in environment
...
See b3d1a0c2d4
2020-08-19 23:54:04 +02:00
Thomas Nagy
025ba60ebf
Force an asm-specific defines flag
2020-08-15 12:16:36 +02:00
ita1024
ccfe1fc19c
Merge branch 'FixClangCL' into 'waf-2.1'
...
Fix configuration fail on Windows with clang-cl module when not using the llvm.org release
See merge request ita1024/waf!2298
2020-08-14 06:36:40 +00:00
3961583-RA-Kooi@users.noreply.gitlab.com
1f92d020e7
Fix configuration fail when using portable LLVM on Windows
2020-08-13 20:54:19 +02:00
Thomas Nagy
35b60bed61
Remove an extra 'pch' annotation in playgroud/pch/wscript
2020-08-10 21:23:16 +02:00
Thomas Nagy
43ce688cdf
Fix playground/pch's second example
2020-08-10 21:23:09 +02:00
Thomas Nagy
a168e28ec8
Port file_to_obj to Python3
2020-08-03 23:30:33 +02:00
Thomas Nagy
f65d08f5d5
Improve wafcache process pre-allocation
2020-08-03 23:20:53 +02:00
Thomas Nagy
b41b1741d1
Improve the definition of static link tasks
2020-07-20 22:51:24 +02:00
260f6065b9
c_config: add MCST Elbrus detection
2020-07-20 22:37:51 +02:00
Matt Selsky
778c7ad74c
Typo
2020-07-20 22:37:40 +02:00
Thomas Nagy
e21aead3b3
Conceal gccdeps/msvcdeps errors on inaccessible/unreadable files
2020-07-20 22:37:34 +02:00
Thomas Nagy
05198a8302
gccdeps/msvcdeps: renaming a header must rebuild silently #2293
2020-07-20 22:37:28 +02:00
Thomas Nagy
cd589cd86b
Update c_dumbpreproc (broken)
2020-07-20 22:37:18 +02:00
Andreu Montiel
988542e500
Allow parameter "always" in doxygen tool (waflib/extra/doxygen.py)
2020-07-20 22:37:00 +02:00
Johan Pauwels
cc11c1dec1
Escape quoted strings in Xcode project
2020-07-20 22:36:39 +02:00
Johan Pauwels
668392f9fb
Export preprocessor macros in Xcode project
2020-07-20 22:36:28 +02:00
Johan Pauwels
f67f175c39
Fix configuration of linker flags in Xcode file
2020-07-20 22:36:14 +02:00
Johan Pauwels
84e71c9408
Fix alignment in generated Xcode file
2020-07-20 22:35:57 +02:00
Johan Pauwels
495b7c0e04
Xcode6 py3 fix.
...
The return type of .keys() in Python 3 is no longer a list, but a
'dict_keys', which does not support the '+' operator.
2020-07-20 22:35:41 +02:00
Federico Pellegrin
0c843e5d40
sphinx: fix installation phase (as generated files are unknown until build)
2020-07-20 22:35:28 +02:00
Thomas Nagy
14b7d15a03
Ensure that the assertion message is showed in python.py #2302
2020-07-15 17:35:22 +02:00
Thomas Nagy
6c99c7cb0b
Add a configuration test for pthread detection #2264
2020-05-02 21:04:28 +02:00
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