Prechádzať zdrojové kódy

project: Add CMakeLists files

Helmut Pozimski 1 rok pred
rodič
commit
273bce8f1d
2 zmenil súbory, kde vykonal 8 pridanie a 0 odobranie
  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 "")