Commit Graph

162 Commits

Author SHA1 Message Date
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
Calle Rosenquist f043a94a02 pytest: Added better support for normal and pyext library dependencies.
This also includes the `buildcopy` feature that allows construction of complete Python packages in the build dir.
2017-09-04 21:03:55 +02:00
Roman C. Podolski fc021cd060 Fix protoc #2009
Fix bug described in #2009 and extend example in playground to include
described scenario.
2017-08-17 07:50:28 +02:00
Thomas Nagy f6eee2b041
Typo process_uselib_vars -> propagate_uselib_vars #2005 2017-08-02 00:38:11 +02:00
Simon bf14d0f340 Fixed a crash when building a subset of xcode6 targets
E.g. when running 'waf xcode6 --targets=some-target'

  File "/waf/waflib/Scripting.py", line 167, in waf_entry_point
    run_commands()
  File "/waf/waflib/Scripting.py", line 268, in run_commands
    ctx = run_command(cmd_name)
  File "/waf/waflib/Scripting.py", line 252, in run_command
    ctx.execute()
  File "/waf/waflib/extras/xcode6.py", line 679, in execute
    self.post_group()
  File "/waf/waflib/Build.py", line 767, in post_group
    if self.current_group < self._min_grp:
AttributeError: 'xcode' object has no attribute '_min_grp'
2017-08-02 00:10:42 +02:00
Simon 1d22579536 Make xcode6 tool consider standard waf build flags
Build flags like 'cflags', 'cxxflags' passed to xcode6 builds
are now considered by the xcode6 tool. For example, running command 'waf xcode6'
with the following wscript:

cnf.env.CXXFLAGS = ['-std=c++11']
...
bld.program(..., cxxflags='-O3')

now sets the OTHER_CPLUSCPLUSFLAGS in Xcode to '-O3 -std=c++11'
2017-08-02 00:10:42 +02:00
Thomas Nagy 2c9f86cc62 Ensure link tasks are processed after swig tasks 2017-06-08 19:56:04 +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
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 e30a2da973
Reflect the current build group in bld.current_group 2017-04-15 15:12:41 +02:00
Thomas Nagy 059939ef60
Xcode 6 generator fixes #1939 2017-04-08 02:24:57 +02:00
Justin Israel 7caabfd264 Extend ListContext to print TaskGen descriptions
Signed-off-by: Justin Israel <justinisrael@gmail.com>
2017-03-08 18:21:50 +01:00
Thomas Nagy ad8f681072
docs 2016-12-04 01:37:18 +01:00
Thomas Nagy 8bea637dc7
docs 2016-11-06 18:29:16 +01:00
Thomas Nagy 152f40f51a
Test for #1834 2016-10-18 18:20:27 +02:00
Federico Pellegrin 4d40e63fc1 Playground sample on how to chain both qt5 tool and pyqt5 extra to use both at the same time in a waf project (#1832) 2016-10-12 23:53:04 +02:00
Simon 7da04766a3 docs +xcode6 bugfix: do not merge env variables of type dictionary into PROJ_SETTINGS config 2016-10-03 20:36:10 +02:00
Thomas Nagy a28385fe94
docs 2016-09-15 22:41:32 +02:00
Simon 88e7fe7f23 changed name bld.exe() to bld.program() in playground example 2016-09-10 15:54:55 +02:00
Thomas Nagy 6e4ba6620c
Remove the Go example because Go has a completely distinct toolchain now 2016-08-22 19:06:12 +02:00
Thomas Nagy a4f6c7468d
Netcache example update 2016-08-21 17:10:17 +02:00
Thomas Nagy 4ff5b8b7a7
docs 2016-08-15 19:44:23 +02:00
Thomas Nagy 42b3bda157
Add an example of stripping executables on installation 2016-08-13 20:11:56 +02:00
Thomas Nagy 51c5df5a11
Docs 2016-08-13 19:53:41 +02:00
Thomas Nagy f5cfef4be3
Set no_errcheck_out on a task to disable the output files verification 2016-08-13 19:49:28 +02:00
Thomas Nagy 8c5624b0f1
docs 2016-08-13 19:32:02 +02:00
Thomas Nagy 6afa7b7fac
docs 2016-08-13 19:24:30 +02:00
Thomas Nagy cd9cfb4716
Add dprogram/dshlib to the example 2016-08-13 18:55:12 +02:00
Thomas Nagy e2b415f974
Strip binaries 2016-08-13 18:51:55 +02:00
Thomas Nagy 52add352d4
Update the strip example 2016-08-13 18:23:51 +02:00
Thomas Nagy 76eac19c02
Cleanup 2016-07-29 22:17:23 +02:00
Thomas Nagy 8a6b13344d
Move demos/xcode6 to playground/xcode6 2016-07-29 22:15:42 +02:00
ita1024 1308001a9e Merge pull request #1790 from fedepell/pyqt5-separate
pyqt5 extra to support qt5 files to python conversion
2016-07-29 18:57:56 +02:00
fedepell 47ac970d15 Added pyqt5 playground example 2016-07-29 16:37:58 +02:00
Calle Rosenquist 3fb1abbb39 Python unit test support via `pytest' feature. 2016-07-25 12:47:41 +00:00
Thomas Nagy df96b50aa1
Example of finding shared library paths with ldd in configuration tests 2016-07-07 20:15:36 +02:00
Thomas Nagy ef48d49260
Remove update_outputs from the documentation 2016-06-25 22:48:47 +02:00
Thomas Nagy 79aece2650
Api docs 2016-06-24 13:21:32 +02:00
Thomas Nagy 062a5263a0
Update conf.check_waf_version to 1.9 2016-06-04 09:33:13 +02:00
Daniel Bartel fb68af3544 fix comment regarding commandline options 2016-05-30 21:26:14 +02:00
Thomas Nagy 02a8361149
Beautify Logs.{debug,error,info,warn} now that the formatting bug is fixed 2016-05-28 16:18:51 +02:00
Thomas Nagy 8407845787
Provide a showcase for print_commands.py and remove some old code 2016-05-28 16:05:00 +02:00
Thomas Nagy 34bad1498f
Remove the preforks since we already have a version with subprocesses in Utils.py 2016-05-27 18:59:40 +02:00
Thomas Nagy 5a35d6c105
Add a Qt5 example 2016-05-01 12:02:58 +02:00
Thomas Nagy 7e047a1284
stripping problems 2016-04-28 19:27:44 +02:00
Thomas Nagy b87a761ead
Tuples in startswith/endswith (Python 2.5 feature) 2016-04-21 22:30:35 +02:00
Thomas Nagy 8717fa791f
outstanding.insert -> outstanding.append_left 2016-03-31 07:42:08 +02:00
Alexander Afanasyev b99a82ddfe Boost module enhancements and fixes
- Output detected version of boost in dot-form (e.g., 1.56.0, instead of 1_56)
- Fix Boost.Log library detection:
  * when linking to shared library, BOOST_LOG_DYN_LINK needs to be defined
  * when linking to non-multithreaded version, BOOST_LOG_NO_THREADS needs to be defined

  (see http://www.boost.org/doc/libs/1_60_0/libs/log/doc/html/log/installation/config.html)
2016-02-26 21:04:50 +01:00
Thomas Nagy 12114e3429
typo 2016-01-27 23:53:23 +01:00
Thomas Nagy e10998ff54
Solution file generation example 2016-01-26 20:00:07 +01:00