Skip to content

Commit

Permalink
added a CMakeLists.txt to the root whihc can build the demos for a pl…
Browse files Browse the repository at this point in the history
…atform
  • Loading branch information
mkm committed Dec 17, 2015
1 parent e472847 commit 806d6a1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions CMakeLists.txt
@@ -0,0 +1,12 @@
cmake_minimum_required(VERSION 2.8)
project(unabto)

option(UNABTO_ENABLE_TESTS "Enable testing of unabto, disable this if you are crosscompiling" ON)

add_subdirectory(apps/pc_demo)
add_subdirectory(apps/weather_station)
add_subdirectory(apps/html_demo)
add_subdirectory(apps/tunnel)
add_subdirectory(apps/stream_echo)


3 changes: 3 additions & 0 deletions apps/porting/src/dns_adapter.c
Expand Up @@ -2,6 +2,9 @@

#include <netdb.h>
#include <pthread.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

typedef struct {
const char* id;
Expand Down

0 comments on commit 806d6a1

Please sign in to comment.