Commit Graph

214 Commits

Author SHA1 Message Date
Thomas Nagy 3a838e9851 Delete playground/weak_constraint because it is obsolete 2017-06-20 11:22:58 +02:00
Thomas Nagy 4d7527b4c4 Clarify the exception type raised by cmd_and_log 2017-06-20 11:20:53 +02:00
Thomas Nagy 6a638625cf Update the Swig example #1982 2017-06-19 19:42:53 +02:00
Thomas Nagy e5e8397154 Change producer.outstanding.appendleft to producer.outstanding.append 2017-06-14 19:53:01 +02:00
Thomas Nagy ccf5961607 Ensure link tasks are processed after swig tasks 2017-06-08 19:46:22 +02:00
Federico Pellegrin 11d5efca68 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-23 21:23:47 +02:00
Simon b30ff35229
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:38:30 +02:00
Thomas Nagy 29b32f7a1a
Reflect the current build group in bld.current_group 2017-04-15 15:12:03 +02:00
Thomas Nagy 566b3fa644
Xcode 6 generator fixes #1939 2017-04-08 02:27:43 +02:00
Justin Israel 6a4091718e Extend ListContext to print TaskGen descriptions
Signed-off-by: Justin Israel <justinisrael@gmail.com>
2017-03-08 18:22:29 +01:00
Thomas Nagy 5ac8e882e0
Remove the TaskBase class hierarchy level 2017-02-11 15:04:25 +01:00
Thomas Nagy f1487eab44
iso8859-1 -> latin-1 2017-01-21 13:28:06 +01:00
Thomas Nagy 1a0396ea88
Accept nested lists as bld(source=...) 2017-01-21 12:50:52 +01:00
Thomas Nagy d0c475462b
docs 2016-12-04 01:36:00 +01:00
Thomas Nagy 9c87928f33
Removed ut_fun from waf_unit_test.py 2016-11-20 10:21:19 +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
Thomas Nagy b716d1ffb2
Docs, #1682 2016-01-07 15:27:54 +01:00
Thomas Nagy 69e51290fd Made this project build on Linux 2016-01-03 06:54:21 +01:00
Thomas Nagy 8083205b81 Additional merges from #1666 2016-01-03 05:08:10 +01:00
Thomas Nagy 5a3a89b4de Stop adding incompatible task data into the same dict objects 2015-12-24 18:36:48 +01:00
Thomas Nagy 7681bddfb7 Remove Node.sig and Node.cache_sig 2015-12-23 17:55:44 +01:00
Matt Clarkson 6c485625f4 Added a JSON example to the playground
The example reads a file as JSON, adds a key, then writes the new structure
to a JSON file in the build folder. The example accepts a '--pretty'
argument to output human readable JSON to the file.
2015-11-20 13:53:39 +00:00
Thomas Nagy 65388a22c5
Adding . in include paths seems to cause problems 2015-11-08 11:22:27 +01:00
ita1024 c9d68d9ff0 Merge pull request #1630 from shoover/playground
playground/c: update bld methods. Use write_config_header for variants…
2015-10-03 08:31:36 +02:00
Shawn Hoover b0b773335c playground/c: update bld methods. Use write_config_header for variants so
cleanall doesn't delete them.
2015-09-30 23:34:08 -04:00
Thomas Nagy f45e5c9d6e
Python 3 syntax cleanup 2015-09-28 21:44:50 +02:00
Thomas Nagy 48504f2c3d
Enable the wrapped method to be reentrant 2015-08-28 21:37:09 +02:00
christophe.duvernois 28639e5c98 playground test update for swig with -outdir parameter 2015-05-03 18:47:05 +02:00
Thomas Nagy 6cfc3ebeef
docs 2015-03-06 18:27:43 +01:00
Thomas Nagy 82743d7966
docs 2015-03-05 19:49:57 +01:00
Daniel Vollmer b1a606c8e6
Generate doxygen into a sub-folder of build
When no OUTPUT_DIRECTORY was set for doxygen, then the parent
directory of the doxyfile was used. If the doxyfile is in the
root-directory, then this was the build-directory itself, which
led to the complete build-directory (including all other build
artifacts) to be installed.

The OUTPUT_DIRECTORY set (if not given) now includes the name
of the doxyfile itself (+ suffix '.doxy').

The install of doxygen-generated files also did not preserve
the directory structure.

The doxy playground example was simplified and updated, as
separate installation is no longer needed.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2015-03-05 15:14:22 +01:00
Thomas Nagy 80344dee5e
Use splitlines when possible 2015-03-03 12:19:25 +01:00
Thomas Nagy e5056b9ade
Example to how how to obtain build dependencies through strace 2015-02-26 22:30:47 +01:00
Thomas Nagy 1f314af77b
Docs 2015-02-20 16:02:05 +01:00
Thomas Nagy 1985579cb4
Example of tracking files in the build directory to force partial rebuilds 2015-02-08 11:05:28 +01:00
Thomas Nagy 15d14c7bdf
Update playground/dynamic_headers - Issue 1530 2015-01-31 23:07:36 +01:00
Thomas Nagy 3064694440
Updated the dynamic_headers2 example 2015-01-31 18:18:26 +01:00
Thomas Nagy 004b866789
Updated the netcache client/server 2015-01-29 00:00:01 +01:00
Thomas Nagy 0bf605e194
Cleanup in the prefork scripts 2015-01-20 21:48:41 +01:00
Thomas Nagy d9908f38ef
Python 3 fixes 2015-01-20 18:47:31 +01:00
Thomas Nagy f10accf861
cleanup 2015-01-19 22:35:20 +01:00
Thomas Nagy fa8d113d41
Additional notes on preforked build processes 2015-01-18 23:56:51 +01:00
Jérôme Carretero 0bdcae3e41 playground: embedded_resources: fixup typo 2015-01-13 13:32:10 -05:00
Thomas Nagy 149653a937
First commit of the year 2015 2015-01-01 16:24:54 +01:00
Thomas Nagy 20a1ed6146
Advanced example of library propagation in distnet 2014-11-22 11:53:13 +01:00
Thomas Nagy a3e882dbba
Moved the stale files example to a single module 2014-10-25 01:57:13 +02:00
Thomas Nagy 7f2cc4ef42
Issue 1462 - Swig file installation example 2014-09-20 11:19:19 +02:00
Syl 6f228d762a fix issue #1477, thanks to Maxime Arthaud for the patch. 2014-09-01 23:14:10 +02:00
Jérôme Carretero a4d0442e45 extras: add file_to_object tool 2014-08-31 22:37:07 -04:00
Thomas Nagy a122bc98c9
another example 2014-08-20 21:25:41 +02:00
Thomas Nagy e9ae4cc5b0
Moved the ocaml, fluid, go and swig examples to the playground area 2014-07-20 05:14:56 +02:00
Thomas Nagy 89d3870951
Another regression due to the change in find_program from Jerome 2014-06-12 21:32:23 +02:00
Thomas Nagy e6b729487a
Moved the doxygen example to where it belongs under playground/ 2014-06-12 07:24:55 +02:00
Thomas Nagy 8821ab2b28
moved pch out of demos (requires extras/pch.py) and disabled the dependency on boost 2014-05-21 01:37:14 +02:00
Jérôme Carretero 955c09d037 playground: add embedded resources example 2014-04-24 00:53:36 -04:00
Syl 1afdb9bb73 gtest: fixed multiline output 2014-03-04 21:26:07 +01:00
Thomas Nagy 66c28e3578 hybrid builds 2014-03-04 08:22:48 +01:00
Syl e241496f3e gtest: reduced build requirements
(strange behavior with bld.stlib)
2014-02-20 22:20:48 +01:00
Syl 825b7b5abf gtest: output alignment 2014-02-20 21:36:56 +01:00
Syl 1edb8a2f00 gtest: added Google Unit Test example to playground 2014-02-20 21:33:00 +01:00
Thomas Nagy f4185e7a26 Added global file installation pointcut 2014-02-17 00:26:58 +01:00
Thomas Nagy ab82dd8b8b possible race when stripping libraries 2014-02-16 23:42:47 +01:00
Thomas Nagy 2d709c24d5 docs 2014-02-16 23:20:32 +01:00
Thomas Nagy 0aa480fdf0 docs 2014-02-09 18:23:26 +01:00