Thomas Nagy
5ac8e882e0
Remove the TaskBase class hierarchy level
2017-02-11 15:04:25 +01:00
Thomas Nagy
62fe305d04
Remove field_name, type_name, function_name from conf.check() tests #1906
2017-02-11 10:41:05 +01:00
Thomas Nagy
f2eaf17089
Disable the detection of Qt debug libraries
2017-01-28 11:50:41 +01:00
Thomas Nagy
ee2c5865f9
Simplify the Qt5 library detection
2017-01-28 11:41:07 +01:00
Thomas Nagy
107b82a242
Remove the lib- prefix from created import libraries
2017-01-28 11:14:03 +01:00
DigitalDan05
90719cf63a
Allow numbers for Java compat attribute ( #1899 )
...
Force the java "compat" parameter as a string.
2017-01-24 20:51:56 +01:00
fedepell
ed3b943803
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:26:45 +01:00
Thomas Nagy
f1487eab44
iso8859-1 -> latin-1
2017-01-21 13:28:06 +01:00
Matt Selsky
0d63f15cde
Typo in docstring ( #1895 )
2017-01-16 18:42:09 +01:00
Thomas Nagy
4226d0cf7b
Code cleanup
2017-01-15 01:16:44 +01:00
Federico Pellegrin
ed55a0c9ea
Remove .so extension from detected qt5 library ( #1892 )
2017-01-11 21:30:41 +01:00
fedepell
2128ce1bc1
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:49 +01:00
Federico Pellegrin
627cdb705d
Add qt5 5.8.x new libraries to qt5 tool ( #1888 )
2017-01-05 19:33:02 +01:00
Thomas Nagy
3a68ccccff
Do not add -W warnings to cflags from check_cfg
2016-12-31 17:22:41 +01:00
Thomas Nagy
b6be90f555
Add -g and -W flags for #1887
2016-12-28 11:30:32 +01:00
Thomas Nagy
3180d81e86
simplification
2016-12-28 11:26:55 +01:00
Matt Selsky
0b971bdae5
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:23:08 +01:00
dffischer
b521041eb4
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-23 17:45:12 +01:00
Thomas Nagy
09713f49e4
Update the gsettings schema cache without a shell
2016-12-21 22:28:30 +01:00
XZS
af7f6c68d6
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-21 22:28:18 +01:00
Ricardo Crudo
2ea34191fb
Tools/python: add option --nopycache ( #1878 )
...
Add option to not use __pycache__ dir when installing python objects.
2016-12-21 22:27:29 +01:00
Thomas Nagy
ce78d67f9d
Simplification __class__.inst_to -> inst_to
2016-12-07 22:01:24 +01:00
Thomas Nagy
90993f1153
Remove c_preproc.trimquotes
2016-12-03 06:47:37 +01:00
Thomas Nagy
ceedab882d
Remove atleast-version, exact-version and max-version from conf.check_cfg
2016-12-03 06:44:20 +01:00
Thomas Nagy
3e7098861c
Use find_resource for java manifest files
2016-11-26 20:27:04 +01:00
Thomas Nagy
99d5112da6
Increase the cache size for #1833 and #1859
2016-11-22 20:34:23 +01:00
Thomas Nagy
9c87928f33
Removed ut_fun from waf_unit_test.py
2016-11-20 10:21:19 +01:00
Thomas Nagy
4699a7871d
Warn of single dots in ant_glob #1853
2016-11-19 09:12:33 +01:00
Thomas Nagy
af66a27da3
Specify shell usage in test script execution
2016-11-19 00:11:46 +01:00
Thomas Nagy
bdb18e8394
Changed --dump-test-runner to --dump-test-scripts
2016-11-19 00:03:55 +01:00
fedepell
e8942d7f22
waf_unit_test: add new option --dump-test-runner that creates python scripts to manually run or debug test executions
...
this can be very useful when debugging unit test problems as when run outside waf then the LD_LIBRARY_PATH (or PYTHONPATH if used with pytest extra) is set dynamically by waf and therefore running the executable manually or via gdb is not immediate
all the environment will be dumped in python script that can then be executed to run manually tests.
2016-11-18 23:40:59 +01:00
Thomas Nagy
076d9202ba
Append tex configuration outputs to config.log
2016-11-04 06:10:17 +01:00
Thomas Nagy
9ae47088bb
Enable configurable preprocessor cache sizes #1833
2016-10-14 19:28:26 +02:00
Thomas Nagy
70a40c1673
Let the Python byte-compilation display pyc/pyo
2016-10-03 15:30:04 +02:00
fedepell
df3b886067
If compiler_cxx was not configured before qt5 then qt5 will try to build applications with an empty compiler which gives very strange errors in the config log. Just check if the compiler is not there and remember the user that compiler_cxx should be configured before qt5.
2016-09-19 17:17:39 +02:00
fedepell
40dafce024
Add qt5 5.7.x new libraries to qt5 tool
2016-09-15 14:40:24 +02:00
fedepell
e8f6d4bfe7
Correct option used for python executable (--python and not --pythondir)
2016-09-14 21:09:45 +02:00
Thomas Nagy
1721a505d9
Use the new syntax for sets
2016-09-02 20:20:43 +02:00
Thomas Nagy
e3092aadc7
Parallel tests can now have an execution order
2016-09-01 22:08:03 +02:00
Thomas Nagy
478d31e701
Can we start using the 'with' keyword now?
2016-08-28 14:06:39 +02:00
Thomas Nagy
d8d7c87ba1
Display parallel test results as they finish
2016-08-28 13:48:16 +02:00
Thomas Nagy
d31398c4a3
Docs on conf.multicheck
2016-08-21 15:31:47 +02:00
Thomas Nagy
96fe543f2e
Docs
2016-08-21 15:17:47 +02:00
Thomas Nagy
5b30eba4db
Let parallel tests run all tests by default (do not stop on the first error)
2016-08-21 15:10:20 +02:00
Thomas Nagy
ec6b72b0ad
Display failed configuration tests in yellow in multicheck
2016-08-20 13:06:23 +02:00
Thomas Nagy
7d3ddac860
Parallel configuration tests with arbitrary functions #1793
2016-08-19 22:15:04 +02:00
fedepell
a9bb62b3f6
qt5: qt5 5.7 detection, added also case with std=c++11 but no fPIC/fPIE
2016-08-19 06:59:40 +02:00
Thomas Nagy
adea933f1a
Qt 5.7 -std=c++11 #1798
2016-08-18 22:21:35 +02:00
Thomas Nagy
26fc0cfced
Enhance the display of parallel configuration tests
2016-08-15 22:48:29 +02:00
Thomas Nagy
f5cfef4be3
Set no_errcheck_out on a task to disable the output files verification
2016-08-13 19:49:28 +02:00