2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-05 18:12:09 +01:00
Commit Graph

23 Commits

Author SHA1 Message Date
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
fedepell
0c07d0d7fb eclipse: don't rely on Context.g_module.out as it may not be defined if default used, used bldnode instead 2018-01-19 00:40:00 +01:00
fedepell
daa0c135e1 eclipse.py: support also if passed srcdir is a Node or a list of directories (which are valid inputs for javaw.py) 2018-01-19 00:40:00 +01:00
Thomas Nagy
424e5aa4ce Cleanup for #1984 2017-06-21 12:03:14 +02:00
fedepell
928faedb44 eclipse: code cleanups as by comment to #1984 2017-06-21 11:55:40 +02:00
fedepell
32164c1004 eclipse: query the compiler for standard include dirs and add them in eclipse search path, so standard includes can be found also with non standard compilers
if command doesn't succeed use hardcoded paths as before. tried with various gcc and llvm.
2017-06-21 11:55:40 +02:00
fedepell
45dafcb0fe eclipse: generate configuration just for languages that are effecitvely used in wscript and not all of them all the time 2017-05-19 21:00:35 +02:00
fedepell
a952131d03 eclipse: little code cleanup 2017-05-19 21:00:35 +02:00
fedepell
ce23d509ba eclipse: add support also for java project configuration generation 2017-05-16 18:11:52 +02:00
fedepell
28cb614069 eclipse: create the pydev python path configuration from the waf setup so the symbols can be correctly resolved in the IDE 2017-05-03 21:07:25 +02:00
fedepell
adc94bce75 eclipse: use standard variable ${PROJECT_DIR_NAME} in pydev configuration instead of hardcoded name for better portability 2017-05-03 21:07:25 +02:00
fedepell
ddd49b571b eclipse: absolute include paths must be added without the workspace prefix or they will result in an incorrect path. treat them correctly as system paths. 2017-05-02 18:44:25 +02:00
fedepell
543cc204a6 eclipse: generate tool index dynamically or visually eclipse will get confused and overwrite the name of the tools, even if the functionality seems somehow to work anyway.
documentation I found seems to point that the index should be unique.
2017-05-02 18:44:25 +02:00
fedepell
d618c52931 eclipse: pass correct languageId for C++ when generating tool otherwise settings will not be used when C++ files are edited 2017-05-02 18:44:25 +02:00
Thomas Nagy
f28426594e
Cleanup: removed most unused variables and imports 2015-10-11 11:32:27 +02:00
Thomas Nagy
797b935305 Issue 1377 2013-11-15 18:20:25 +01:00
Thomas Nagy
44a967e326 Initial commit 2011-09-10 11:13:51 +02:00