From 656b746be7ffb834a31d0a693071f9eebba186c6 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Mon, 19 Nov 2018 16:25:02 +0100 Subject: [PATCH] README: add instructions for using setup.py --- README | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README b/README index a1bca8f6..daecd80a 100644 --- a/README +++ b/README @@ -19,3 +19,20 @@ the appropriate steps automatically. Directory naming is // please be careful to 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