Commit Graph

2318 Commits

Author SHA1 Message Date
Waf Project ad7b733fc6
Waf 2.0.26 2023-08-12 03:20:31 +02:00
Rafaël Kooi def399e373 qt5: Add support for Qt6
Implements support for Qt6 by extending qt5.py. The user can opt in for
Qt6 support by setting cfg.want_qt6 = True. There's also a qt6 feature,
which at the moment is identical to the qt5 feature. Splitting has been
done now for futureproofing purposes. Qt6 libraries can be selected
through the cfg.qt6_vars variable. I didn't make an attempt at any
backwards compatibility by trying to load cfg.qt5_vars if it exists,
this is done so the move from Qt5 to Qt6 is a more deliberate process.

Signed-off-by: Rafaël Kooi <3961583-RA-Kooi@users.noreply.gitlab.com>
2023-07-15 15:34:01 +02:00
Adam Barton 2f36e89f25 Haxe Toolkit support 2023-07-15 15:33:25 +02:00
Federico Pellegrin b9d968a3be sphinx: put doctrees temporary directory out of destination dir
This prevents the doctrees cache being installed in the install
phase which is not desiderable. Each build has a private one,
since each is a separate task and otherwise we can have race
conditions.
2023-06-20 05:27:53 +02:00
ita1024 ee63711f97 Merge branch 'a1batross-master-patch-25634' into 'master'
waflib: extras: msvs: enclose solution path into doublequotes in generated shell commands

See merge request ita1024/waf!2353
2023-04-10 17:57:59 +00:00
Alibek Omarov 87566c681b waflib: extras: msvs: enclose solution path into doublequotes in generated shell commands 2023-04-10 17:35:21 +00:00
Thomas Nagy 0da14c8e7b Support SOURCE_DATE_EPOCH in some places 2023-02-12 10:35:27 +01:00
Thomas Nagy 39ef33e483 Waf 2.0.25 2023-01-01 14:21:19 +01:00
Thomas Nagy 2db0b41b28 Fix suspicious warnings 2023-01-01 14:03:01 +01:00
Thomas Nagy 46fe4bc658 Add asynchronous wafcache uploads 2023-01-01 13:51:21 +01:00
Thomas Nagy 46cd7934e6 Distutils removal in Python 3.12: set the correct Python arch dir 2022-12-31 10:32:05 +01:00
Thomas Nagy 6551dd04e4 Distutils removal in Python 3.12: set the correct Python arch dir 2022-12-31 09:53:59 +01:00
Thomas Nagy 84c26588fc Workaround for the distutils removal in Python 3.12 2022-12-22 18:51:25 +01:00
Harald Klimach f1956a0bb6 Adding an extra module to detect the Fujitsu Fortran compiler on ARM64FX. 2022-11-18 18:00:04 +01:00
Thomas Nagy 80c6808c0b Ensure find_program replaces more invalid characters 2022-10-05 22:46:12 +02:00
Thomas Nagy e94fac33e4 wafcache: skip uploads when inputs are modified while building 2022-10-02 01:24:29 +02:00
André Bauer 13bc8b4ee3 Fix typo in documentation. 2022-09-28 21:15:35 +02:00
Andrew Malachowski e236ef830d Improve cp65001 compat in cpython < 3.3 2022-09-01 21:39:45 +00:00
Federico Pellegrin c1a1a9fe50 sphinx: support multiple output formats 2022-09-01 19:42:54 +00:00
Andrew Malachowski 514ec749bb gccdeps: Harden class wrapping 2022-08-31 23:02:59 +00:00
Federico Pellegrin 2d27c346d8 pyqt5: improve autodetection of tools and add flag support
Improves autodetection by adding tool naming as found in some recent
distributions (ie. Fedora). Adds also possibility to pass via env
command line options to tools (needed ie. to explicitly pass
generator due to changes to uic/rcc tool).

Test updated to demonstrate and document the parameter needed to
work out of the box with newest tooling.
2022-06-08 08:11:20 +02:00
Thomas Nagy 15e04d7a7d Waf 2.0.24 2022-05-22 11:35:56 +02:00
Thomas Nagy 1af97c71f5 Sort visual studio versions by version number #2352 2022-05-22 11:25:33 +02:00
ita1024 247916d640 Merge branch 'msvc_detect' into 'master'
msvc: fix version detection when new and old compilers are installed

Closes #2352

See merge request ita1024/waf!2340
2022-05-22 09:02:38 +00:00
Thomas Nagy f421d09d6a docs: fix the inheritance diagrams in the apidocs 2022-05-17 23:50:30 +02:00
Miro Hrončok 8d6cbb3657 Python: Use EXT_SUFFIX config var over the deprecated/removed SO
Fixes https://gitlab.com/ita1024/waf/-/issues/2386
2022-05-17 17:09:21 +02:00
Alibek Omarov a9173e98be msvc: fix version detection when new and old compilers are installed 2022-05-17 15:59:34 +03:00
Thomas Nagy c0d5ac00f8
waf-2.0.23 2021-12-15 00:56:42 +00:00
Mathieu Parent ae97dbf59b Add support for GNU/kFreeBSD
Where default compiler is gcc
2021-12-14 09:21:09 +01:00
Thomas Nagy 3a036329e4 Avoid errors in case ECLIPSE_EXTRA_TARGETS is is set to None 2021-12-09 15:46:12 +01:00
Federico Pellegrin 7d77052299 eclipse: add possibility to add custom targets execution
Make it easy to add custom target executions in the automatic
eclipse configuration generation, for example to call other
standard waf targets from other tools or with specific options.
2021-12-09 09:21:35 +01:00
Thomas Nagy 5bfce4a87e Detect qt5 libraries in alphabetical order 2021-12-08 02:18:15 +01:00
Thomas Nagy 0c7229c808 Detect Qt3D* libraries #2368 2021-12-08 02:17:48 +01:00
Federico Pellegrin 9b064938d8 wafcache: support stats also for multiple build commands 2021-11-24 13:19:50 +01:00
Thomas Nagy 90dec3a61a Provide the classic runner system from waf 1.x as an extension 2021-09-22 19:52:15 +02:00
Federico Pellegrin 557139ecda eclipse: remove repeated entries in include paths for C/C++
Make sure just unique include paths (both system and local) are
added to prevent overcrowding with useless redundant include paths
that grow up a lot the generated XML file and make the usage of
the GUI messy.
The filter was already there for Java/Python.
2021-09-03 10:18:24 +02:00
Federico Pellegrin 161be6e647 eclipse: add generation of editor language settings
Add automatic generation of editor language settings for C and C++,
so the automatic code correction uses the correct compiler and
compiler flags, including for example the correct C/C++ standard
so construct from such standards are correctly managed by the IDE.
Correct compiler and flags are automatically generated using the
build environment data gathered during configure phase.
The playground example has been modified to contain some code that
is standard specific to demonstrate the new feature when run under
Eclipse.
2021-08-31 10:40:10 +02:00
Federico Giovanardi 23df45272c Make clang_compilation_database compatible with variants
In the current implementation if a project is using
build variants it's not possible to use the clang_compilation_database
plugin because it strips the variant information from the build object.
2021-07-15 10:57:23 +02:00
Erik Parker e65bd769f3 color_gcc: Check that cmd has elements in it before processing it. 2021-06-21 13:48:05 -05:00
Thomas Nagy f44e4592a7 Process dependency Nodes in bld(rule=..., deps=[..]) 2021-06-16 22:12:57 +02:00
Thomas Nagy c5bcd7e9b9 Improve error messages from scanner errors #2356 2021-06-12 08:12:33 +02:00
Thomas Nagy 05ebc97be6 Handle deprecated Thread.setDaemon in Python 3.10 2021-05-13 17:10:55 +02:00
Thomas Nagy b1098d40a7 On windows, try $INCLUDEPY/../libs to detect the Python library path 2021-04-30 18:38:01 +02:00
Federico Pellegrin 47778d9c8f swig: skip CR (\r) if present in module name
Handles presence of \r in module name (ie. DOS mode swig .i files)
Should fix #2350
2021-04-29 04:33:07 +02:00
Michael Vincent b3663173b5 gccdeps: Refactor cache lock
Rework how gccdeps' cached_nodes lock is used so acquiring the lock is
only necessary on a cache miss. Also use a "with" context manager to
simplify management of the lock lifecycle.

Ported from 8b5a2a2086
2021-04-22 12:53:59 +02:00
Michael Vincent c52efadbe6 gccdeps: Move scan() method
Move the scan() method down in the file to match msvcdeps' method
ordering. This makes it easier to compare gccdeps.py and msvcdeps.py
to keep them in sync.
2021-04-22 12:50:22 +02:00
Michael Vincent 412b5c3e49 gccdeps: Rename some variables
Rename some local variables to clarify their purpose and to align with
msvcdeps.py.
2021-04-22 12:49:17 +02:00
Michael Vincent 0bc85fb681 msvcdeps: Align with gccdeps
Just a few small changes to make msvcdeps.py align with gccdeps.py
better.
2021-04-22 12:48:25 +02:00
Michael Vincent 99820803b9 msvcdeps: Remove unused variable 2021-04-22 12:42:21 +02:00
Thomas Nagy c082c5c668 Let msvcsdeps process relative paths and in a deterministic manner 2021-04-22 02:19:25 +02:00