README: add instructions for using setup.py
This commit is contained in:
parent
d8ea961985
commit
656b746be7
17
README
17
README
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue