Matt Selsky
efea0378fd
python docs: check_python_version also defines PYTHONARCHDIR
2018-05-24 18:02:03 +02:00
Thomas Nagy
656a30d364
waf-2.0.8
2018-05-22 23:07:04 +02:00
Thomas Nagy
f78fbc32bb
Simplifications
2018-05-19 11:30:05 +02:00
Thomas Nagy
6873a1b4c6
Work around Python 3.6 console issues #2163
2018-05-19 11:23:46 +02:00
Mark Flanagan
5faa15a9f3
Don't quote or escape arg file lines for moc/rcc
...
Qt parses each argument line-by-line. Avoiding the quoting and escaping
from Task.quote_flag saves us from "too many files specified" moc/rcc error.
2018-05-17 00:00:49 +02:00
Federico Pellegrin
2a18ea239a
eclipse: make all generated file utf-8 encoded ( #2166 )
...
Eclipse generates them by default in utf-8 (or will resave them
as such the moment they are touched) so this is more conformant
to eclipse format.
2018-05-11 16:13:06 +02:00
fedepell
974e4d0d0b
eclipse: give a better name to waf variable indicating the waf executable path
2018-05-11 13:45:09 +02:00
Federico Pellegrin
48a4f6a765
eclipse: generate an external builder when no CDT is used in the project ( #2164 )
...
When CDT is not included in the project (ie. we just have Python and/or Java) the current implementation would not create automatically a call to waf
for the build stage. This patch adds in such cases an external builder that automates the call to waf without the need to manually configure one.
2018-05-11 12:16:04 +02:00
fedepell
30b883a32d
eclipse: add generation of external jar dependencies for java projects to eclipse file
2018-05-09 22:37:58 +02:00
Thomas Nagy
55d975f25e
Fix the API docs
2018-05-09 07:23:37 +02:00
Thomas Nagy
8e40c98e0c
Docs: mention PYTHONIOENCODING for windows console users
2018-05-09 07:17:42 +02:00
Thomas Nagy
7bc3f787b2
Rework the vswhere.exe execution
...
- Do not shadow the encoding parameter for subprocess.Popen in Python 3.6
- Describe console settings
- Import ctypes only if available
2018-05-08 23:46:01 +02:00
Suzumizaki
c2980e5090
Adhoc fix where waf cannot run under Japanese version of Windows. ( #2155 )
2018-05-08 22:55:19 +02:00
fedepell
64a582ecc2
eclipse: add support for generated files management for java and python
...
added support to search and add into source path also generated source
files for both java and python. this is useful when using generated code
(ie. protoc and pyqt5) so browsing in eclipse works correclty adding also
paths where generated code is done.
extended example in playground demostrating generated code
2018-04-22 00:40:28 +02:00
fedepell
c4f8e20e69
pyqt5: improve the sample in playground so can easily work also with pyside2
2018-04-18 08:05:07 +02:00
fedepell
4682f543ce
eclipse: handle case where python install_from is a Node object
2018-04-17 07:20:20 +02:00
fedepell
891f3e809d
eclipse: correct feature name to javac not java
...
it was actually working anyway if the features were passed as a string (as in the playground example) but not if passed as a list
2018-04-16 18:45:43 +02:00
Thomas Nagy
f8c86e0895
Provide the 'def:' string through a variable #2148
2018-04-14 08:39:27 +02:00
Thomas Nagy
bef6f1b4bf
Cleanup #2146
2018-04-07 10:35:07 +02:00
Eric Newberry
fab94287f8
detect arch-specific library path for Boost on dpkg-based systems
2018-04-07 10:34:09 +02:00
fedepell
6363147a5e
java demos: correct jaropts parameter example to an array as it is then used as such in javaw.py
2018-04-04 20:29:37 +02:00
voodoo66
f03040c960
fixed typo in documentation for Configure.find_program
2018-04-02 20:27:53 +02:00
Thomas Nagy
8abce6ddd3
docs
2018-04-02 12:06:54 +02:00
Thomas Nagy
9cf12afa62
docs
2018-04-01 23:31:45 +02:00
Thomas Nagy
4a71fef6f1
Missing code
2018-03-29 16:49:50 +02:00
Thomas Nagy
465a1c7b5c
waf-2.0.7
2018-03-29 15:00:58 +02:00
Daniel Vollmer
a4b0b675cf
swig: c(xx) task inherits weight from swig itself
...
If any weights (i.e. `weight` or `tree_weight`) are set on a swig task
then those weights are passed on to the task created to compile the
wrapper generated by swig.
2018-03-29 13:24:54 +02:00
Thomas Nagy
c80722685c
Apply priorities when consuming tasks - Issue 2137
2018-03-29 11:09:39 +02:00
Thomas Nagy
90c80ea1ae
Apply priorities on dynamically-generated tasks #2137
2018-03-27 20:32:53 +02:00
Thomas Nagy
592136739b
Improve priority support in swig.py
2018-03-26 21:03:26 +02:00
Thomas Nagy
259b5468b8
Workaround for Swig priorities #2137
2018-03-26 20:52:11 +02:00
Thomas Nagy
2c640d8803
The cxx_hook override in slow_qt4 is missing a return bloack
2018-03-25 18:39:52 +02:00
fedepell
bb458769ee
protoc: add .proto dependencies also in include path otherwise protoc will fail if dependency is in another directory
2018-03-22 23:13:40 +01:00
Thomas Nagy
8404aa4d5c
Cosmetic changes on the gdbus/dbus tools
2018-03-21 23:56:48 +01:00
Thomas Nagy
b806fe31d9
Moved gdbus to the playground area
2018-03-21 23:53:18 +01:00
Joshua Watt
922604492a
gdbus: Add glib DBus bindings
...
Adds support for generating dbus bindings using the newer gdbus-codegen
tool that is designed to replace the deprecated dbus-binding-tool tool
2018-03-21 23:51:55 +01:00
Thomas Nagy
facdc0b173
Python 3.7 fixes #2126
2018-03-12 20:42:55 +01:00
Thomas Nagy
de992ea840
Enable Utils.lazy_generator in Python 2
2018-03-11 22:42:21 +01:00
Fangrui Song
5e4b86b81d
Use "arguments" instead of "command" for compile_commands.json
2018-03-11 21:54:35 +01:00
fedepell
adbee3f23a
protoc: protoc (ver 2 and 3) strips underscores when generating .java file names. consider this in node name generation otherwise the generated java file will not be found
2018-03-09 17:39:55 +01:00
Alexander Afanasyev
9e2da12800
Correction of boost module detection of Boost.Log
...
The previous logic in #1709 made an incorrect assumption that the
filename of shared/static library indicates that it was build as
multi-threaded or single threaded. This assumption does not hold in many
Linux distributions.
In addition to that. Boost.Thread and Boost.Log require -pthread (or
some other) flags in order to properly link.
2018-03-09 08:49:42 +01:00
Alexander Afanasyev
4c79d0dda4
Fix strangle issue with precompiled headers and shared libraries
...
When shared library compiled with precompiled headers enabled, this
change prevents precompiled headers to activate on dependent targets.
Otherwise, there is an issue with -fPIC flag propagation.
2018-03-09 08:48:24 +01:00
Andrew Keller
d525e2ccac
xcode6: fix py3 support
2018-03-08 09:38:59 +01:00
Matt Selsky
28ea6e64e3
Typos
2018-03-06 09:14:40 +01:00
fedepell
e9eca13d92
protoc: fix generation of include directories when having nested wscripts
2018-03-06 09:14:10 +01:00
fedepell
a02c6d8727
protoc: handle case of proto files in deep directories when output is generated with paths
2018-03-02 19:33:38 +01:00
Thomas Nagy
459ddf50b6
waf-2.0.6
2018-02-18 13:24:13 +01:00
Thomas Nagy
ae907a859e
Provide an example of storage using extended filesystem attributes
2018-02-17 22:35:52 +01:00
Thomas Nagy
1a43b608ac
Enable deep input dependencies as a task decorator
2018-02-17 18:40:29 +01:00
Thomas Nagy
941fcc05e0
docs
2018-02-17 12:14:03 +01:00