AWS Device SDK CPP v2 sample recipe #2153
Replies: 4 comments
-
Hi Scott, |
Beta Was this translation helpful? Give feedback.
-
@thomas-roos thanks for the details. There used to be a CMake file in the root of the 'samples' directory which made this easier but I see that is gone so yes, I agree, not as easy as I hoped. The logical option but quite messy would be as you suggest, a recipe per sample and possibly a 'dummy' recipe which pulls in all samples. The other option would be to include a patch adding back the CMake file in the root of the 'samples' directory which simply contains
Appreciate none of these are particularly elegant. |
Beta Was this translation helpful? Give feedback.
-
did open an issue at the sdk project site: aws/aws-iot-device-sdk-cpp-v2#521 |
Beta Was this translation helpful? Give feedback.
-
Some example has been added here: https://github.com/aws4embeddedlinux/meta-aws/tree/master/recipes-sdk/aws-iot-device-sdk-cpp-v2 |
Beta Was this translation helpful? Give feedback.
-
This is more or less a duplicate of #137 but I can see that currently there is only a recipe for one sample 'mqtt5_pubsub' which is required for testing the main package.
It would be good to have a single 'aws-iot-device-sdk-cpp-v2-samples' recipe which builds all samples and splits them into separate packages using PACKAGES, FILES and RDEPENDS for each sample binary.
That way all samples will be built by the recipe but the end user can individually decide which samples they include in their image and other recipes can RDEPEND on a single sample just like 'aws-iot-device-sdk-cpp-v2' does today.
Beta Was this translation helpful? Give feedback.
All reactions