Adapted pubsub CMakeLists.txt to export public headers and source files
@@ -48,4 +48,24 @@ if (PUBSUB)
#install api
install(FILES api/pubsub/publisher.h api/pubsub/subscriber.h DESTINATION include/celix/pubsub COMPONENT framework)
+ #install public common files
+ install(FILES
+ pubsub_common/public/include/pubsub_serializer.h
+ pubsub_common/public/include/pubsub_utils.h
+ pubsub_common/public/include/pubsub_common.h
+ pubsub_common/public/include/pubsub_endpoint.h
+ pubsub_common/public/include/pubsub_admin_match.h
+ pubsub_common/public/include/publisher_endpoint_announce.h
+ pubsub_common/public/include/pubsub_admin.h
+ DESTINATION include/celix/pubsub
+ COMPONENT framework
+ )
+ install(FILES
+ pubsub_common/public/src/pubsub_admin_match.c
+ pubsub_common/public/src/pubsub_utils.c
+ pubsub_common/public/src/pubsub_endpoint.c
+ DESTINATION share/celix/pubsub
+ COMPONENT framework
+ )
+
endif(PUBSUB)
