WIP Cmake/make build

This commit is contained in:
jorgenkraghjakobsen
2020-05-24 22:55:19 +02:00
Unverified
parent 2b9dd956cf
commit 971f57faca
337 changed files with 256 additions and 64054 deletions

View File

@@ -0,0 +1,3 @@
idf_component_register(SRCS "snapcast.c"
INCLUDE_DIRS "include"
REQUIRES libbuffer json)

View File

@@ -1,11 +1,11 @@
#include "snapcast.h"
#ifdef ESP_PLATFORM
//#ifdef ESP_PLATFORM
// The ESP-IDF changes the include directory for cJSON
#include <cJSON.h>
#else
#include <cjson/cJSON.h>
#endif
//#else
//#include "json/cJSON.h"
//#endif
#include <stdio.h>
#include <stdlib.h>