Matt Selsky
d8f7fe165f
Typos
2019-03-07 22:13:40 -05:00
xbreak
33208b3747
buildcopy: Added warning if buildcopy is used without any files to copy
2019-01-25 12:25:28 +00:00
Federico Pellegrin
429c4c88d9
protoc: simplify the java generation also solving problems with .proto input files generated during build
2019-01-20 10:41:51 +00:00
Thomas Nagy
2f3d5e5163
Prevent protoc errors on "waf list"
2019-01-19 09:40:11 +01:00
fedepell
f876a7b18c
protoc: fix filename generation for .java
2019-01-17 14:45:40 +01:00
Thomas Nagy
4bd0c72809
Rework the previous changes
2019-01-05 16:16:48 +01:00
Mickaël Schoentgen
412a9b819e
Fix all DeprecationWarning: invalid escape sequence
...
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
2019-01-05 12:02:42 +01:00
ita1024
e68dc88857
Merge branch 'cython' into 'master'
...
Cython enhancements
See merge request ita1024/waf!2196
2018-12-29 10:11:19 +00:00
Harald Klimach
3dbf2ee7f8
Support for the Fortran Compiler of the NEC SX-Aurora TSUBASA system.
2018-12-21 20:18:12 +01:00
fedepell
70f1522fa1
protoc: handle extra taskgen and out of project include directories
2018-12-21 06:16:08 +01:00
ita1024
b755748c4c
Merge branch 'features/gccdeps' into 'master'
...
Use correct variable in gccdeps config
See merge request ita1024/waf!2203
2018-12-19 17:56:00 +00:00
ita1024
fe873242bc
Merge branch 'protoc-eh-1' into 'master'
...
protoc: fix included protoc search on nested wscripts
See merge request ita1024/waf!2202
2018-12-19 17:44:23 +00:00
Daniel Welty
4b905773ea
Use correct variable in gccdeps config
...
The global value gccdeps was appended to CFLAGS and CXXFLAGS instead of
the actual flags tested against the compiler. This ignored
modifications to the GCCDEPS_FLAGS environment variable and complicated
adding support for additional compilers at the project level.
2018-12-19 11:14:43 -06:00
fedepell
ba1947b113
protoc: fix included protoc search on nested wscripts
...
previously code was erroneously using tg.bld.path instead of tg.path
so for nested wscript calls the wrong directory was used in search.
added also better error handling with error message if an included
directory does not exist
2018-12-19 15:45:48 +01:00
Thomas Nagy
82679503eb
docs
2018-12-19 11:30:45 +01:00
Romain Le Godais
b3d974a0b9
cython: use a set for mods instead of a list.
...
There can be multiple imports of the same module in a single file, so
avoid evaluating them multiple times.
2018-11-24 12:59:35 +01:00
Romain Le Godais
af74bbcbee
cython: Enhance import regexp.
...
* avoid matching commented imports
* support `from foo.bar import baz` syntax.
2018-11-18 10:39:17 +01:00
Thomas Nagy
314bd31e6a
Find more Swig dependencies - Issue 2206
2018-11-06 00:20:31 +01:00
mmooij
02c20b8e85
Check if sources/include are Nonde3 type
2018-08-21 17:52:09 +02:00
Daniel Bartel
ef90934434
spawn a subprocess for cpplint to avoid threading issue
2018-08-10 23:49:52 +02:00
Matt Selsky
a10822f688
Fix typos
2018-07-28 19:47:10 -04:00
Matt Selsky
12b9f9aed1
Update GitHub URLs for GitLab equivalents
2018-07-08 14:53:13 -04:00
Jonathan Bendes
4b6ea4c7e8
Made options optional for cython waftool
2018-06-27 07:22:10 +02:00
fedepell
80aba755c1
doxygen: make error management if doxygen configuration file not found a bit more user friendly
2018-06-06 23:39:32 +02:00
fedepell
8b4d979dad
doxygen: task_gen has no attribute generator, correct reference and make error message a bit more readable
2018-06-06 23:39:32 +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
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
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
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
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
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
Thomas Nagy
facdc0b173
Python 3.7 fixes #2126
2018-03-12 20:42:55 +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
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