1#******************************************************************************* 2# Copyright (c) 2017 IBM Corp. 3# 4# All rights reserved. This program and the accompanying materials 5# are made available under the terms of the Eclipse Public License v1.0 6# and Eclipse Distribution License v1.0 which accompany this distribution. 7# 8# The Eclipse Public License is available at 9# http://www.eclipse.org/legal/epl-v10.html 10# and the Eclipse Distribution License is available at 11# http://www.eclipse.org/org/documents/edl-v10.php. 12# 13# Contributors: 14# Ian Craggs - initial version 15#*******************************************************************************/ 16 17# Samples 18 19include_directories(../src) 20 21add_executable( 22 pub0sub1 23 pub0sub1.c transport.c 24) 25target_link_libraries(pub0sub1 paho-embed-mqtt3c) 26 27add_executable( 28 pub0sub1_nb 29 pub0sub1_nb.c transport.c 30) 31target_link_libraries(pub0sub1_nb paho-embed-mqtt3c) 32 33add_executable( 34 qos0pub 35 qos0pub.c transport.c 36) 37target_link_libraries(qos0pub paho-embed-mqtt3c) 38