Commit Graph

2289 Commits

Author SHA1 Message Date
Thomas Nagy c5227d0a2b
docs 2017-06-04 08:41:43 +02:00
Thomas Nagy a782130a2e
waf-1.9.12 2017-06-02 21:19:25 +02:00
Thomas Nagy 7153756042
Force an encoding on config.log #1974 2017-06-02 21:17:09 +02:00
Seth Hinze c2a1081a41 Allow overriding namespace of resx files. 2017-06-01 00:01:55 +02:00
Seth Hinze 68e7e073f0 Add xmldoc support to cs tool. 2017-06-01 00:01:27 +02:00
Seth Hinze 026de60641 Allow /noconfig to be used with csc 2017-06-01 00:00:48 +02:00
Seth Hinze 1f2ebd6db9 Fix pdb installation in cs tool. 2017-06-01 00:00:16 +02:00
Thomas Nagy 85efdc2246
Handle spaces in python paths on Windows #1973 2017-05-28 20:13:55 +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
Federico Pellegrin b0eb986e9a eclipse: added a playground area for testing the eclipse extra (#1968)
* eclipse: added a playground area for testing the eclipse extra

* eclipse: try to clean up a bit the playground by collapsing some wscripts
2017-05-18 22:16:43 +02:00
Gustavo Sousa 003f9dd5a8 javaw: run use_javac_files() before propagate_uselib_vars()
Updating the uselib attribute after propagate_uselib_vars() is called won't
yield the desired effect.
2017-05-17 21:05:04 +02:00
fedepell ce23d509ba eclipse: add support also for java project configuration generation 2017-05-16 18:11:52 +02:00
Akira Baruah cc52c6e230 cpplint: logger subclasses also inherit from object to safely call super() 2017-05-13 10:56:59 +02:00
Thomas Nagy 5e6e73fce6
Handle vswhere output encodings in Python2 #1965 2017-05-13 09:53:49 +02:00
Akira Baruah f7ff1dd521 cpplint: fix Python 2 import name collision using `absolute_import` 2017-05-09 07:42:32 +02:00
Thomas Nagy cbf4c4f861
waf-1.9.11 2017-05-06 16:55:03 +02:00
Thomas Nagy a65c7c03b7
Detect older products with vswhere.exe 2017-05-06 11:38:25 +02:00
Refael Ackermann e19d9d990f Detect MSVS 15.0 Installation path (via vswhere)
Fixes: #1924

Inspired by the scripts from https://github.com/node4good/msvs-com-helper
2017-05-06 04:19:34 +02:00
Jan Niklas Hasse 7142640257 Import library files need to be installed into lib/ on Windows
Fix #1860.
2017-05-06 03:43:10 +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
Akira Baruah 6cf97685f3 cpplint: add `--cpplint-root` option 2017-04-27 21:32:12 +02:00
Akira Baruah 3f15e5e2c8 Check `env.CPPLINT_SKIP` after `options` are converted to `env`s #1953 2017-04-26 07:36:56 +02:00
Akira Baruah 6e5baffd47 Remove undeclared `ve` variable for performance improvement #1950 2017-04-25 23:59:04 +02:00
Thomas Nagy f2366e8c93
Improve waf -v speed in verbose mode #1950 2017-04-23 19:10:12 +02:00
Thomas Nagy 008c9016a8
Code simplifications 2017-04-22 22:12:50 +02:00
Thomas Nagy 1a876716cb
Typo 2017-04-22 21:49:03 +02:00
Thomas Nagy ed24f5f82e
waf-1.9.10 2017-04-22 15:39:13 +02:00
Jiří Janoušek c83e485d16 vala: support *.vapi as input files
Vala compiler can use *.vapi files also as input files alongside *.vala
files. If you build a library, these vapi files are not included ín
resulting *.deps files and are, therefore, suitable for internal
purposes.

Signed-off-by: Jiří Janoušek <janousek.jiri@gmail.com>
2017-04-21 22:30:47 +02:00
Thomas Nagy e8ac4ba555
Ensure bld.current_group reflects the current group while building 2017-04-20 23:28:39 +02:00
Thomas Nagy 8c3cca3284
docs 2017-04-20 22:17:46 +02:00
Thomas Nagy 3de21ec448
Exclude install vapi paths and empty installation tasks 2017-04-20 22:10:27 +02:00
Thomas Nagy 15fb3a33eb
Make the invalid uid task verification slightly less verbose 2017-04-20 22:10:08 +02:00
Thomas Nagy 93053013f9
Cleanup: Break multiple statements on multiple lines 2017-04-17 13:20:00 +02:00
Thomas Nagy 43c7891fe5
Cleanup 2017-04-17 12:29:17 +02:00
Simon c967d29e48 Replace param 'source_files' with 'group_files'.
The 'source_files' param to the xcode6 tool was originally separated from the
conventional 'source' param because it was used to control how the source files
would appear in the XCode folder UI. Also, it'd allow to add any file extensions,
and not limited to those extensions supported by the loaded set of waf tools.

This commit renames 'source_files' param to 'group_files'. It also changes the semantic so that 'group_files' now is used like the following:

bld(
 source='...', # These are now the files compiled by XCode
 'group_files': ..., # Optionally customize the way source files appear i the UI
)

Previously, 'source_files' was used to collect source files for compilation in XCode, and to customize the UI folder structure. In this commit source_files is used only to let the user group files in different UI folders (and add additional resource files besides source files). I want to do the renaming to better reflect the param's meaning.

Additional changes:

* Remove unique_filereference

* Updated examples
2017-04-16 01:35:16 +02:00
Thomas Nagy 8bc0cfbcb3
Provide bld.cur property for compatibility
Though the property bld.cur was used internally, a few build
scripts may be relying on it. This property is to be removed
in waf-2.0
2017-04-15 15:15:32 +02:00
Thomas Nagy e30a2da973
Reflect the current build group in bld.current_group 2017-04-15 15:12:41 +02:00
Thomas Nagy 45b05b3f30
Cleanup #1943 2017-04-15 13:50:21 +02:00
Thomas Nagy 3ed319a744
Obtain NO_LOCK_IN_TOP/RUN/OUT from os.environ too 2017-04-14 13:04:51 +02:00
Thomas Nagy 2ef701bbbd
Do not cast test outputs to integers with add_to_env 2017-04-14 02:01:35 +02:00
Thomas Nagy b9df5b205e
Detect Python from conf.env.PYTHON 2017-04-14 01:54:26 +02:00
Thomas Nagy 6702434df4
Ensure env.PYTHON is set (regression) 2017-04-13 21:09:43 +02:00
Thomas Nagy 6d19d4211d
Waf 1.9.10 preparation 2017-04-13 19:46:52 +02:00
Thomas Nagy ae3f254315
Extract the distcheck command argument 2017-04-13 19:01:03 +02:00
Thomas Nagy 0664e621da
Ignore empty lock files 2017-04-13 12:12:09 +02:00