Commit Graph

869 Commits

Author SHA1 Message Date
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
Mathieu Parent ae97dbf59b Add support for GNU/kFreeBSD
Where default compiler is gcc
2021-12-14 09:21:09 +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
Thomas Nagy b1098d40a7 On windows, try $INCLUDEPY/../libs to detect the Python library path 2021-04-30 18:38:01 +02:00
Alibek Omarov 64dff6f4fe c_config: add RISC-V generic detection 2021-04-15 12:37:06 +00:00
Erik Parker ec3ce5c30d winres: Pass include paths by environment variable 2021-04-05 20:01:38 +00:00
Thomas Nagy 816d5bc48b Work around faulty vcvarsall.bat scripts #2315 2021-01-29 23:46:05 +01:00
Bootsma, James c747a09a7d waf_unit_test: Fix command handling under windows
The unit test tool moved from a simple split to using shlex.split for
handling the unit test command. This results in the path separators on
windows being treated as escapes.

To handle this the unit test exec command is properly escaped before
joining so that the subsequent split restores the original arguments.
The quote function is also exposed in the Utilities module so that
wscripts making use of the unit test tool can properly quote their
contributions to the command as well.
2021-01-20 16:22:59 -07:00
Thomas Nagy cf8468a7c3 Do not detect Qt6 when detecting Qt5 2020-12-27 15:33:31 +01:00
Thomas Nagy 60e3f5f488 Work around distutils MACOSX_DEPLOYMENT_TARGET regression #2330 2020-12-17 14:17:35 +01:00
Federico Pellegrin 0a18f9b512 waf_unit_test: consider ut_cmd always for task signature 2020-10-16 04:37:44 +02:00
Thomas Nagy c30b928890 Force unit test re-runs on environment or command changes 2020-10-15 18:54:14 +02:00
Federico Pellegrin cccb443376 waf_unit_test: make sure test is rerun if ut_str changes 2020-10-14 04:57:19 +02:00
Thomas Nagy 7348371f84 Fail Qt5 detection immediately when the c++ compiler is missing 2020-09-19 08:47:57 +02:00
Thomas Nagy b05dcce007 Simplify the determination of --msvc_version's default value 2020-08-19 23:50:29 +02:00
Anthony DuPont b3d1a0c2d4 default to version of visual studio from command prompt if it exists 2020-08-19 17:23:38 -04:00
Thomas Nagy 0eb79f2514 Force an asm-specific defines flag 2020-08-15 12:17:34 +02:00
Alibek Omarov 49c5b387f1 c_config: add MCST Elbrus detection 2020-07-12 14:33:33 +00:00
Federico Pellegrin b202ab275e qt5: improve documentation on library detection and options 2020-04-30 07:59:03 +02:00
Federico Pellegrin e3227a61e9 c_config: -flto and -fno-lto need to be passed also when linking 2020-03-19 09:01:34 +01:00
swaldhoer 6182a905ea Add support for clang++ on cygwin 2020-03-01 13:32:53 +01:00
swaldhoer bcf03c04c0 add support for clang on cygwin 2020-02-29 11:00:12 +01:00
Federico Pellegrin e32a6d4103 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 09:35:07 +01:00
Thomas Nagy f5a398452e
Make multicheck collisions less likely 2019-12-14 23:49:49 +01:00
Thomas Nagy 702870e98c
Remove conf.find_cpp from irix compiler detection 2019-11-29 23:07:26 +01:00
Thomas Nagy d000220c26
Update irixcc 2019-11-29 22:58:50 +01:00
Severin Strobl 63935db906 Support versioned shared libraries.
Shared libraries often use a suffix encoding their version which should
be handled when parsing linker flags.
2019-11-19 10:32:09 +01:00
Thomas Nagy fb499f29da
Improve the Qt5 fPIC/fPIE detection 2019-11-16 18:46:57 +01:00
Thomas Nagy eaa1e372af
Remove the dependency on Qt5Gui in the Qt5 detection 2019-11-10 10:36:30 +01:00
Federico Pellegrin 217b3fcaa6 Tools/c_config.py: update to documentation 2019-11-05 14:01:51 +01:00
Thomas Nagy 2c90724ca0
Propagate ldflags to fortran tasks #2262 2019-10-19 00:11:11 +02:00
Thomas Nagy 6539bd1ad3
Improve error messages in c_aliases 2019-10-08 20:04:00 +02:00
Thomas Nagy 68bf3867df
Unbreak the endianness test with msvc 2019-09-08 22:51:09 +02:00
Thomas Nagy d2060dfd8a Conceal imp warnings in Python3 2019-08-14 22:05:45 +02:00
Thomas Nagy 2793fb7dbb
Improve endianness detection 2019-07-31 21:04:53 +02:00
Thomas Nagy 4a79f95aa4
Disable lto for the endianness configuration test #2250 2019-07-30 18:45:07 +02:00
Thomas Nagy bbaa976ae0
Add executable arguments for configuration tests / execute=True
conf.check(..., execute=True, test_args=['--abc=def'])
2019-07-11 07:55:38 +02:00
Thomas Nagy 2e9954e087 Add a dependency scanner for gas/yasm and nasm (incomplete) 2019-06-26 15:00:03 +02:00
Thomas Nagy 770910fcda Detect of assembly features in bld.program()/bld.shlib() 2019-06-26 12:03:29 +02:00
Thomas Nagy 173f410e3f Improve the configuration cache accuracy 2019-06-25 11:51:44 +02:00
Thomas Nagy 497b875a89 Add -fno-strict-aliasing flags only if missing
https://gitlab.com/ita1024/waf/merge_requests/2248/diffs
2019-06-20 23:14:51 +02:00
Eric Müller e319a9c2c9 Allow for flat install of python files via `py` feature 2019-06-19 22:33:36 +02:00
fedepell 31c51501d7 javaw: bugfix outdir is always a node (since converted in apply_javac) 2019-06-06 15:06:41 +02:00
Thomas Nagy fa6496dbc4
Use a constant instead of a hard-coded number (Qt5) 2019-06-02 09:23:57 +02:00
Thomas Nagy 6bc6cb599c
Refactor javaw.py 066a051181 2019-06-02 08:50:06 +02:00