-
Notifications
You must be signed in to change notification settings - Fork 639
Add subscription manager for MQTT #1094
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
da4e531
4c38e3d
21b0ec2
0e4322f
68d0cde
430afeb
aac92f1
8d08d2c
6b53e18
0d637fb
157580a
c4a2162
85626a6
b75cc4a
cda35d7
6541697
edaa2d2
ceb0d44
e72c706
6e42571
90ccdba
b35b815
bbc1ed2
396b5ba
9b4bd7f
750d61e
902ef2c
b60ef01
00b14af
f4d07df
b56e984
3b1b7ec
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
set( LIBRARY_NAME "mqtt_subscription_manager" ) | ||
# Library target. | ||
add_library( ${LIBRARY_NAME} | ||
"${LIBRARY_NAME}.c" ) | ||
|
||
target_link_libraries( | ||
${LIBRARY_NAME} | ||
PRIVATE | ||
mqtt | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does it mean that Subscription manager links to MQTT? Should be other way round? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
) | ||
|
||
target_include_directories( | ||
${LIBRARY_NAME} | ||
PUBLIC | ||
${LOGGING_INCLUDE_DIRS} | ||
) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be called DEMO_NAME.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is being added as a library instead of a demo binary so that multiple demos can call it (and thereby, link against it)