README: add instructions for using setup.py

This commit is contained in:
Marcel Hollerbach 2018-11-19 16:25:02 +01:00
parent d8ea961985
commit 656b746be7
1 changed files with 17 additions and 0 deletions

17
README
View File

@ -19,3 +19,20 @@ the appropriate steps automatically.
Directory naming is <type>/<language>/<name> please be careful to Directory naming is <type>/<language>/<name> please be careful to
namespace example binaries in case they are installed by the user. namespace example binaries in case they are installed by the user.
Building the whole set of Examples
==================================
You can build all examples at once, all you have to do is:
./setup.py
This will create a folder called subprojects, all examples are
then sym-linked into this directory, a corresponding meson.build
file is generated, which uses every example as a subproject.
After that you can build the meson project with:
* mkdir build
* meson build/
* cd build
* ninja all