From 2dd5b94d296297a50a67307ffc5ba8ce8578f0fe Mon Sep 17 00:00:00 2001 From: Avi Date: Mon, 12 Sep 2022 00:57:13 -0400 Subject: [PATCH] Enable support for TFTLCD-Library as ESP-IDF component Enables TFTLCD-Library as an ESP-IDF component (with Arduino as component). This file is based on the CMakeLists.txt file in the Adafruit-GFX-Library repo. --- CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..8778cae --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,8 @@ +cmake_minimum_required(VERSION 3.5) + +idf_component_register( + SRCS "Adafruit_TFTLCD.cpp" + INCLUDE_DIRS "." + REQUIRES arduino Adafruit-GFX-Library) + +project(TFTLCD-Library)