Thomas Nagy
26bd012695
Detect the most recent msvc version first
2017-04-08 21:35:23 +02:00
Thomas Nagy
059939ef60
Xcode 6 generator fixes #1939
2017-04-08 02:24:57 +02:00
Thomas Nagy
f6a030e172
Docs for #1937
2017-04-01 10:12:31 +02:00
Thomas Nagy
bffa757bae
Add -pie for parse_flags #1936
2017-04-01 09:29:10 +02:00
Thomas Nagy
e503375cb0
Add new entries for parse_flags #1936
2017-03-31 18:15:14 +02:00
Matt Selsky
b0524d1a6f
Typos
2017-03-27 19:30:51 +02:00
Harald Klimach
ede9ac0740
Fixed Fortran module naming scheme (unexpected upper instead of lower).
2017-03-27 19:30:13 +02:00
yngwe@FRY
94fd866949
#1925 : improve support for Visual Studio 2017, added support for all cross compiler & added ARM64 target support
2017-03-25 23:22:21 +01:00
Thomas Nagy
14c57b47e6
waf-1.9.9
2017-03-25 13:36:20 +01:00
Thomas Nagy
389f3f3b28
Order msvc compiler detection #1907
2017-03-25 13:33:22 +01:00
Thomas Nagy
ee4d91dfce
Improve Qt detection with frameworks
2017-03-25 12:51:26 +01:00
Jan Niklas Hasse
aa73787f63
Support CLICOLOR(_FORCE) to control colored output
2017-03-25 10:38:27 +01:00
Gordon Tisher
2942da2efe
Update vs2017 support to correctly configure x64
2017-03-15 18:18:44 +01:00
Gordon Tisher
d86f2ccd17
Add the ability to detect Visual Studio 2017 to msvc
2017-03-14 22:32:10 +01:00
Simon Guillot
0a789a6f09
Fix bug in the clang_compilation_database tool when no C compiler is loaded
2017-03-14 22:20:43 +01:00
Thomas Nagy
c8638eab3e
Cleanup
2017-03-08 18:26:20 +01:00
Justin Israel
7caabfd264
Extend ListContext to print TaskGen descriptions
...
Signed-off-by: Justin Israel <justinisrael@gmail.com>
2017-03-08 18:21:50 +01:00
fedepell
6ce409f98f
cppcheck: fix Python3 incompatibilities (see #1921 )
2017-03-08 18:17:52 +01:00
Thomas Nagy
56c9721d88
Additional fortran extensions #1916
2017-03-04 12:10:12 +01:00
Thomas Nagy
f7a16da8fc
Provide unity builds per task generator
2017-03-04 12:08:55 +01:00
Thomas Nagy
512bbfd819
Obtain run_build_cls from run_build/check parameters
2017-03-04 08:31:59 +01:00
DragoonX6
70616f2b7d
Make clang_compilation_database add-on always output complete listings.
2017-02-18 11:58:50 +01:00
Alexander Afanasyev
7779706bc9
qt5: Workaround for QT5 detection on macOS (Bug #1910 )
2017-02-15 18:35:28 +01:00
Matt Selsky
f2186bc17b
Typo
2017-02-15 08:09:40 +01:00
Alexander Afanasyev
f05372f897
c_osx: Fix install task for mac_files
2017-02-15 08:05:41 +01:00
Thomas Nagy
cb0fa36265
Better error message on missing macros
2017-02-14 22:47:15 +01:00
Thomas Nagy
b4485d8bb1
Warn for missing cflags/cxxflags in gccdeps
2017-02-14 22:46:46 +01:00
Thomas Nagy
1e7f260c07
Fix the thread index in parallel_debug
2017-02-14 19:42:34 +01:00
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
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
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
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
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
906bf781ac
Cleanup for #1865
2016-11-26 11:51:20 +01:00
Gustavo J. A. M. Carneiro
421e0e3ab9
Accept functools.partial() as a task rule #1862 ( #1865 )
...
Accept functools.partial() as task generator rules #1862
2016-11-26 11:00:01 +01:00
Thomas Nagy
57ee30760a
Increase the cache size for #1833 and #1859
2016-11-22 20:34:58 +01:00
Thomas Nagy
6c48f08e97
Simplify waflib/extras/force_build_directory.py
2016-11-20 13:47:31 +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
24cc1dc057
missing import
2016-11-14 22:20:57 +01:00
Thomas Nagy
af7716f014
docstring for #1851
2016-11-14 22:13:26 +01:00
Thomas Nagy
0454ee677e
docs
2016-11-08 21:31:11 +01:00
Thomas Nagy
058b8f7f39
simplifications
2016-11-06 12:00:35 +01:00
Federico Pellegrin
90b66a4f04
cppcheck: fix extra forn multiple build rules are in a single wscript ( #1844 )
...
* cppcheck: fix extra forn multiple build rules are in a single wscript
When executed the output from cppcheck will be put inside cppcheck.xml and
then the generated error output inside cppcheck/index.html (and related
subfiles). Of course if two separate build rules are present the files
will clash with each other and data will be lost.
So this will not work in previous version:
bld.program(source=bld.path.ant_glob('src/ex-prog-*.cpp'), includes='src/', target='ex-prog-c')
bld.program(source=bld.path.ant_glob('src/ex-prog2-*.cpp'), includes='src/', target='ex-prog2-c')
In the output just one of the two results will be there (or in worst case
we will have files being deleted/garbled) as they both try to work on
cppcheck.xml and index.html (in build and build/cppcheck respectively)
With this commit the xml/html files have a reference to the task name (so
appended with a dash) so they are unique and don't clash. Also all the
messages to the user are corrected accordingly so the user is pointed to
the correct name of the file (and so are the internal links generated in
the html file).
In the previous case we will have:
ccpcheck detected (possible) problem(s) in task 'ex-prog2-c', see report for details:
file:///home/fede/waf/cppc/build/cppcheck/index-ex-prog2-c.html
ccpcheck detected (possible) problem(s) in task 'ex-prog-c', see report for details:
file:///home/fede/waf/cppc/build/cppcheck/index-ex-prog-c.html
* cppcheck: Provide as an option also old way of single index.html file for compatibility
2016-11-06 11:33:25 +01:00
Thomas Nagy
6ecf6390a8
Better error message on method cycle detection
2016-11-05 11:56:08 +01:00
Thomas Nagy
076d9202ba
Append tex configuration outputs to config.log
2016-11-04 06:10:17 +01:00
Thomas Nagy
86e9c0527c
Cleanup
2016-11-03 22:42:17 +01:00
fedepell
572cd98aab
cppcheck: add possibility to use -j option for multiple parallel threads, speeds up drastically when executing on multiple source files
2016-11-03 22:02:10 +01:00
fedepell
655217384a
cppcheck: check very ugly if code checking for configuration mode
2016-10-27 18:36:34 +02:00
fedepell
c6ebd2547c
cppcheck: do not execute task when in configuration mode as this can break other tools (ie qt5) which do a test build. see also #1840
2016-10-26 22:41:02 +02:00
fedepell
54a5ebe46a
pytest extra: add more graceful and informative error if parameter is pointing to no valid source files
2016-10-24 11:17:21 +02:00
Thomas Nagy
0db417ac1a
docs - #1836
2016-10-20 18:44:55 +02:00
Thomas Nagy
cd50b17e7b
Wrong cwd path for unity.py
2016-10-18 18:09:44 +02:00
Thomas Nagy
287046547b
Let unity builds use relative paths for msys #1834
2016-10-17 20:06:39 +02:00
Thomas Nagy
9ae47088bb
Enable configurable preprocessor cache sizes #1833
2016-10-14 19:28:26 +02:00
Thomas Nagy
4bd13de095
Unnecessary file
2016-10-11 18:35:12 +02:00
Thomas Nagy
3e47e4250e
Display @argfile contents in msvcdeps #1831
2016-10-11 18:34:35 +02:00
Thomas Nagy
443985720f
Do not change permissions on symlinks because this is not used anywhere
2016-10-09 21:41:31 +02:00
Thomas Nagy
b159ecc44f
waf-1.9.5
2016-10-09 16:28:59 +02:00