Commit Graph

2202 Commits

Author SHA1 Message Date
Thomas Nagy a6109383bf
waf-1.9.8 2017-02-13 20:54:50 +01:00
Thomas Nagy ffcbf5d402
Work around an annoying Python 3.6 regression #1889 2017-02-13 20:53:15 +01:00
Thomas Nagy ef3b1bdcbf
Keep winres flags in subsequent detections #1908 2017-02-11 23:34:21 +01:00
Thomas Nagy 27cba45b5f
cleanup 2017-02-08 21:55:50 +01:00
Matt Selsky e6b150fac9 Update check_endianness() example to show that the return value needs to be used 2017-02-08 21:16:09 +01:00
Yinon Ehrlich 166fa49679 Retain original trace-back (#1903) 2017-02-05 12:59:01 +01:00
Thomas Nagy ace38d2d75
Cleanup 2017-01-30 23:24:35 +01:00
Jan Niklas Hasse 86e77ef5c3 Improve error message about version mismatch (#1902) 2017-01-30 23:23:15 +01:00
Thomas Nagy e82884e404
docs 2017-01-29 20:00:22 +01:00
Thomas Nagy 2cf69d9a79
Simplify the Qt5 library detection 2017-01-28 11:40:41 +01:00
Thomas Nagy 4bdcc37d06
Now -qopenmp option #1900 2017-01-25 18:36:33 +01:00
DigitalDan05 fcb95f4532 Allow numbers for Java compat attribute (#1899)
Force the java "compat" parameter as a string.
2017-01-24 20:51:29 +01:00
fedepell 823ad57b89 qt5: generate the list of Qt5 libraries by searching on the system, instead of hardcoded list in tool
This gives the possibility to search on the system (QT5_LIBDIR or library automatically
found) for libraries available instead of using the list hardcoded in the tool. The search is
done using a regexp that matches the same files as the ones used for library search with support
for dynamic/static and win32/unix.

This change makes the tool more versatile to new versions of Qt5 as we don't have to maintain the
library list anymore. It should also make configure faster as just the libraries phisically present
will be tested upon. Custom libraries installed on top of base Qt5 will be also recognized with this
method.
2017-01-24 18:25:28 +01:00
Matt Selsky d27f613fab Typo in docstring (#1895) 2017-01-16 18:41:23 +01:00
Federico Pellegrin 7133dab2dd Remove .so extension from detected qt5 library (#1892) 2017-01-11 21:29:59 +01:00
fedepell 821565818f qt5: add --qtextralibs option to add qt5 custom libraries on the system to the default libraries list present in the qt5 tool
example usages:
waf configure --qtextralibs Qt5OpcUA
waf configure --qtextralibs Qt5OpcUA,Qt5Dummy
2017-01-11 08:07:05 +01:00
Thomas Nagy 9d11883dbd
docs 2017-01-06 23:15:23 +01:00
Thomas Nagy fb4116f10e
docs 2017-01-06 23:14:51 +01:00
Thomas Nagy 3a12b52372
Fix the method specification in syms.py 2017-01-06 23:09:42 +01:00
Thomas Nagy 3938bb89aa
Missing parentheses in syms.py 2017-01-06 23:00:45 +01:00
Thomas Nagy 113fc8192e
Update the python version detection in waf.bat 2017-01-06 04:27:08 +01:00
Federico Pellegrin 17e1ef04ad Add qt5 5.8.x new libraries to qt5 tool (#1888) 2017-01-05 19:32:17 +01:00
Thomas Nagy 8fbb14356b simplification 2016-12-28 11:27:30 +01:00
Matt Selsky dcc0a6a917 Make sure to save compiler optimization flags from foo-config scripts (#1887)
python-config on openSUSE needs -O2 to match -D_FORTIFY_SOURCE

Fixes #1886
2016-12-28 11:21:09 +01:00
montonero b97681c110 Added '-o' flag for emscripten linker (#1885)
* correct static lib extension for emscripten

* added space after '-o' flag for emscripten/clang

* removed empty line

* -o flag for linker
2016-12-27 20:15:53 +01:00
Thomas Nagy 974f59780d Prevent accidental data sharing on ext_in/ext_out/before/after 2016-12-27 14:42:54 +01:00
Thomas Nagy b95cd931fd Improve process_rule cache accuracy 2016-12-23 18:06:57 +01:00
dffischer 15c45b365d glib2: Compile schemas per directory (#1881)
* glib2: Compile schemas per directory

By changing GSETTINGSSCHEMADIR during the build setup or on single tasks
or generators, the user may place schemas in various locations. Adding a
post build function for each of this location compiles all of them
instead of only one global directory.

* glib2: Notify user about failed schema compilation

* glib2: Demo schemas installed to multiple places

A new schema lacking lacking any enumerations was introduced. Installing
it isolated simplifies the generator creation to the essential
components demonstrated.
2016-12-22 18:31:07 +01:00
Thomas Nagy 1c63e4d7ee Simplify TaskGen.process_rule 2016-12-22 18:28:03 +01:00
Thomas Nagy 3c22fd412e Fix chmod with tuple rules #1884 2016-12-22 12:07:08 +01:00
Thomas Nagy c78d53a7a2 Include all vars in tuple rules #1883 2016-12-22 12:02:25 +01:00
montonero e3e8e6b711 Fixed '-o' flag for emscripten/clang (#1882)
* correct static lib extension for emscripten

* added space after '-o' flag for emscripten/clang

* removed empty line
2016-12-22 11:16:34 +01:00
Thomas Nagy 0dd0e17ecc Optimize Node.path_from 2016-12-21 19:50:29 +01:00
Thomas Nagy ea032a73ae Update the gsettings schema cache without a shell 2016-12-20 14:01:17 +01:00
XZS f0c5c732a7 glib2: consider destdir when compiling schemas
When a destdir is set, the schemas are now not only installed below it,
but also compiled there.
2016-12-20 13:54:54 +01:00
cconverse711 ec3bf9d046 Fix boost library naming conventions 2016-12-17 14:29:07 +01:00
Ricardo Crudo b9dfbf3caf Tools/python: add option --nopycache (#1878)
Add option to not use __pycache__ dir when installing python objects.
2016-12-15 19:03:29 +01:00
montonero 0143b86505 correct static lib extension for emscripten (#1876) 2016-12-13 16:23:10 +01:00
Thomas Nagy 4095f1403a
waf-1.9.7 2016-12-13 10:26:11 +01:00
Thomas Nagy ade48ed52e
Conceal Python 2.6 subprocess errors 2016-12-08 22:43:58 +01:00
Thomas Nagy de7e8b758e
Read variables from self.vars #1873 2016-12-07 19:04:46 +01:00
Thomas Nagy ad8f681072
docs 2016-12-04 01:37:18 +01:00
Matt Selsky 70899622e2 Fix grammar in ConfigSet pydoc (#1872) 2016-12-02 18:23:37 +01:00
Thomas Nagy 0bca3987ad
docs - waf 1.9.6 2016-11-27 14:23:37 +01:00
Thomas Nagy dbcda7ec6a
Fix the inconsistent partial detection for #1865 2016-11-26 19:30:53 +01:00
Thomas Nagy 8dae660ec7
Allocate Utils.lru_cache lazily 2016-11-26 18:14:28 +01:00
Thomas Nagy f0ef5624cc
waf 1.9.6 2016-11-26 15:27:18 +01:00
Thomas Nagy 283e7953cb
More cleanup for #1865 2016-11-26 14:23:04 +01:00
Thomas Nagy aa88cd86a5
Update the -source version in java examples 2016-11-26 12:02:41 +01:00
Thomas Nagy 906bf781ac
Cleanup for #1865 2016-11-26 11:51:20 +01:00