From 7ad63551d6c6c50e416578d4047142117aa5ac45 Mon Sep 17 00:00:00 2001 From: hsaturn Date: Thu, 29 Dec 2022 02:17:43 +0100 Subject: [PATCH] Added missing Makefile for unit test of MqttClassBinder --- tests/classbind-tests/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/classbind-tests/Makefile diff --git a/tests/classbind-tests/Makefile b/tests/classbind-tests/Makefile new file mode 100644 index 0000000..7f0f8b5 --- /dev/null +++ b/tests/classbind-tests/Makefile @@ -0,0 +1,13 @@ +# See https://github.com/bxparks/EpoxyDuino for documentation about this +# Makefile to compile and run Arduino programs natively on Linux or MacOS. + +EXTRA_CXXFLAGS=-g3 -O0 -DTINY_MQTT_TESTS + +# Remove flto flag from EpoxyDuino (too many ) +CXXFLAGS = -Wextra -Wall -std=gnu++11 -fno-exceptions -fno-threadsafe-statics + +APP_NAME := classbind-tests +ARDUINO_LIBS := AUnit AceCommon AceTime TinyMqtt EspMock ESP8266WiFi ESPAsyncTCP TinyConsole +ARDUINO_LIB_DIRS := ../../../EspMock/libraries +EPOXY_CORE := EPOXY_CORE_ESP8266 +include ../../../EpoxyDuino/EpoxyDuino.mk