add CMake config for rest of examples

Signed-off-by: jean Davy <jean.davy.77@gmail.com>
message with array is handled