Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 17 lines (11 sloc) 0.399 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#Specify the version being used as well as the language
cmake_minimum_required(VERSION 2.6)
#Name your project here
project(mqttpub)
project(mqttsub)

#Sends the -std=c99 flag to the gcc compiler
add_definitions(-std=c99)
include_directories(src)

#This tells CMake to main.c and name it mqttpub
add_executable(mqttpub pubmain/main.c src/mqtt.c)
add_executable(mqttsub submain/main.c src/mqtt.c)



Something went wrong with that request. Please try again.