Browse Source

project: Add CMakeLists files

Helmut Pozimski 1 year ago
parent
commit
273bce8f1d
2 changed files with 8 additions and 0 deletions
  1. 6 0
      CMakeLists.txt
  2. 2 0
      main/CMakeLists.txt

+ 6 - 0
CMakeLists.txt

@@ -0,0 +1,6 @@
+# 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)
+
+include($ENV{IDF_PATH}/tools/cmake/project.cmake)
+project(esp32-alarm-clock)

+ 2 - 0
main/CMakeLists.txt

@@ -0,0 +1,2 @@
+idf_component_register(SRCS "esp32_alarm_clock_main.c" "wifi.c" "storage.c"
+                    INCLUDE_DIRS "")