Sean Fisk
21d659b841
Fix incorrect documentation for cmd_and_log
2017-10-17 02:00:13 +02:00
Thomas Nagy
6d18a0e760
Update check_waf_version default bounds
2017-10-11 21:59:29 +02:00
Thomas Nagy
210874d297
Fix #2053
2017-10-04 20:41:21 +02:00
Roland Puntaier
2bbd4b62d5
normpath() to make a 'a/b' variant dir display as 'a\b' on windows
2017-09-30 21:33:41 +02:00
Thomas Nagy
3d64c32c2c
Do not expose the pdb option by default
2017-09-30 21:31:07 +02:00
Roland Puntaier
314240fec9
--pdb option to start pdb on exception
2017-09-30 21:28:55 +02:00
Federico Pellegrin
a02b71a163
protoc: add java support for protobuffers ( #2049 )
...
* protoc: added java support
Modified protoc to support also .proto -> .java generation. the .java file
name generated is not obvious as in C++/Python but follows a couple of rules
that were implemented.
As cxx/python and javaw Tools are quite different the implementation is not
as clean as for cxx/python but is hopefully fine (ie. protoc still uses
sources for input files while javac uses src_dir).
In javaw a small detail was added: a new attribute was added (gencode) that
instructs javac to look for source files also in the build directory. This
are realistically generated code (and .proto -> .java is an example) and
are therefore in the build. Default is false keeping all the previous
behaviour.
* protoc for java enhanchments (protoc version, regex, docs)
In configure stage get protoc version as java naming changes depending on the
version. Implement the version differences between version < 2 and > 2
Improve regex for option catching and implement a mix of them in playground
to verify it.
Add some documentation on how java filenames and paths are generated.
* protoc: build dir with generated code is automatically added, so no need to explicitly use gencode in javac
2017-09-26 19:17:40 +02:00
Thomas Nagy
dc6d584002
waf-2.0.1
2017-09-24 17:23:48 +02:00
Thomas Nagy
8134aed186
docs
2017-09-23 09:44:28 +02:00
Alan Ray
1e994e50fb
Teach use_config to more gracefully fail during options() call #2043
2017-09-23 09:22:35 +02:00
Thomas Nagy
f7833e73ff
Remove unnecessary global declarations
2017-09-23 09:22:24 +02:00
Calle Rosenquist
89c755e714
pytest: Also add in-source library dependencies to libpath. buildcopy: Renamed to_nodes to to_src_nodes to avoid any confusion.
2017-09-23 09:22:16 +02:00
Daniel Brosche
6e44206a67
Cleaned up extended use example
2017-09-23 09:22:05 +02:00
Thomas Nagy
c26f8c12c2
Accept task objects in Build.add_to_group for compatibility reasons
2017-09-23 09:21:51 +02:00
Thomas Nagy
c113442738
Prevent xcode6 from overwriting features lists #2038
2017-09-23 09:21:41 +02:00
Thomas Nagy
31d32c3f49
Improve default preprocessor behaviour for gcc/msvc
2017-09-23 09:21:21 +02:00
Thomas Nagy
e64467892c
Warn against loading gccdeps/msvcdeps options
2017-09-23 09:21:14 +02:00
Thomas Nagy
b78ecf361c
Fix #2035
2017-09-23 09:21:04 +02:00
Daniel Brosche
54248f007b
Extended playground use example
2017-09-21 07:26:54 +02:00
Thomas Nagy
4272c6b5ba
self.includes may come from a global variable #2035
2017-09-20 20:01:46 +02:00
Thomas Nagy
18955dd91d
Attempt to make the syms tool a little more backward-compatible #2032
2017-09-20 00:06:50 +02:00
Calle Rosenquist
69e45d1a71
Node.ant_glob: Do not ignore case by default, as specified by the documentation.
2017-09-19 22:46:16 +02:00
Calle Rosenquist
1354a37255
Set Logs.verbose from options (regression from be05b6ee8b
)
2017-09-19 15:29:29 +02:00
Thomas Nagy
74204e57e0
waf-2.0.0
2017-09-16 20:34:02 +02:00
Thomas Nagy
0279838cfd
Simplify tests/init execution
2017-09-16 14:02:09 +02:00
Thomas Nagy
934b02f967
Merge branch 'waf-2.0' into master
2017-09-15 21:27:31 +02:00
fedepell
5cc784aabd
correct the documentation example for colon
2017-09-15 21:06:52 +02:00
fedepell
0976fd1679
correct the documentation example for colon
2017-09-15 21:06:07 +02:00
Thomas Nagy
4e387de1ce
Follow-up on #2028
2017-09-15 21:00:15 +02:00
Federico Pellegrin
4df813941e
protoc: extend extra to support also Python language ( #2028 )
...
* protoc: extend extra to support also Python language
* protoc: fix ext_out, unite c++/python generation, fix protoc_includes name
2017-09-15 21:00:08 +02:00
Thomas Nagy
e40e52a383
Follow-up on #2028
2017-09-15 20:59:37 +02:00
Federico Pellegrin
2474218874
protoc: extend extra to support also Python language ( #2028 )
...
* protoc: extend extra to support also Python language
* protoc: fix ext_out, unite c++/python generation, fix protoc_includes name
2017-09-15 20:52:08 +02:00
Thomas Nagy
da3844b019
Obtain vala tasks directly
2017-09-14 22:47:27 +02:00
Thomas Nagy
e68bc5d65b
docs
2017-09-14 22:20:31 +02:00
Thomas Nagy
ddbc9726b0
Fixup: read the relevant lock file with --top
2017-09-12 20:22:13 +02:00
Adriano Scoditti
f0c8b0c283
When '--top' is specified there is no reason to climb
2017-09-12 20:20:22 +02:00
Thomas Nagy
a61742affb
Add tests for #2026
2017-09-12 20:11:36 +02:00
Thomas Nagy
ad5dd18408
Use the 'with' syntax whenever possible
2017-09-12 19:36:43 +02:00
Thomas Nagy
0a0b786259
docs
2017-09-12 19:11:34 +02:00
Thomas Nagy
dcefc468bb
Python3 fixes
2017-09-10 20:59:59 +02:00
Thomas Nagy
be05b6ee8b
Accept relative prefix/bindir/libdir paths from launch_dir
...
Additionally:
- Scripting.parse_options is back for compatibility reasons
- The help message should only be displayed when this is intended
- OptionsContext is responsible for the full initialization, so
the framework should be usable without requiring Scripting.py
- Make it clear that Options.options is an optparse.Values object
- Get rid of the state in Options.options
2017-09-10 20:59:29 +02:00
Thomas Nagy
8b49da2fa7
Add more folder initialization tests
2017-09-10 19:14:40 +02:00
Adriano Scoditti
3cea04e829
Improve options management
2017-09-10 19:11:27 +02:00
Thomas Nagy
7f7f336e9f
Fix Configure.autoconfig='clobber' when no previous configuration is present
2017-09-09 17:50:42 +02:00
Thomas Nagy
b722f1dda0
Test suite for top/out settings
2017-09-09 17:50:13 +02:00
Thomas Nagy
8c3a281746
Fix Configure.autoconfig='clobber' when no previous configuration is present
2017-09-09 17:49:48 +02:00
Thomas Nagy
5aafea1bd3
Test suite for top/out settings
2017-09-09 17:45:59 +02:00
Mihai Moldovan
4f0c7dc44a
Backport old gfortran compiler support.
2017-09-05 07:58:46 +02:00
Mihai Moldovan
2706fdbec0
Backport old gfortran compiler support.
2017-09-05 07:58:21 +02:00
Thomas Nagy
96f6a6a22d
Remove an unused variable in buildcopy
2017-09-04 21:19:20 +02:00