Commit Graph

2273 Commits

Author SHA1 Message Date
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
Thomas Nagy 65b5a3966d
Keep opt.load('python') optional 2017-04-13 12:11:36 +02:00
Thomas Nagy 22ac435454
Ignore empty environment variables in find_program 2017-04-10 20:39:45 +02:00
Thomas Nagy d300a7ce0f
Make target declaration unnecessary #1943 2017-04-09 11:28:53 +02:00
Thomas Nagy 26bd012695
Detect the most recent msvc version first 2017-04-08 21:35:23 +02:00
Thomas Nagy cf6372b857
Docs 2017-04-08 10:53:43 +02:00
Thomas Nagy 059939ef60
Xcode 6 generator fixes #1939 2017-04-08 02:24:57 +02:00
WaffleSouffle 942f9a14d9 waf.bat changed to support Python3 installation on Windows. 2017-04-04 19:01:21 +02:00
WaffleSouffle b5c18460d2 Ignore waf.bat (generated by Windows build). 2017-04-04 18:35:29 +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
Thomas Nagy 2391bbb2dd
waf-launcher - Issue 1935 2017-03-29 22:36:46 +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