Explorar o código

project: Add CMakeLists files

Helmut Pozimski hai 1 ano
pai
achega
273bce8f1d
Modificáronse 2 ficheiros con 8 adicións e 0 borrados
  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 "")