From 1cd57521d8fce24fbb1ac685e79d61e642bf9276 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Tue, 17 Apr 2018 11:50:21 +1000 Subject: [PATCH] Add project CMakeLists.txt file for the CMake Preview branch See https://esp32.com/viewtopic.php?f=13&t=5559&p=24109 for an explanation of this. --- 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..eb3ddbe --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,8 @@ +# The following lines of boilerplate have to be in your project's +# CMakeLists in this exact order for cmake to work correctly +cmake_minimum_required(VERSION 3.5) + +set(MAIN_SRCS main/main.c) + +include($ENV{IDF_PATH}/tools/cmake/project.cmake) +project(app-template)