We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89859f7 commit 3600ab5Copy full SHA for 3600ab5
CMakeLists.txt
@@ -0,0 +1,24 @@
1
+file(GLOB core_srcs
2
+ libraries/*/src/*.c
3
+ libraries/*/src/*.cpp
4
+ cores/esp32/*.c
5
+ cores/esp32/*.cpp
6
+ cores/esp32/libb64/*.c
7
+ )
8
+
9
+# Note: we set COMPONENT_SRCS not COMPONENT_SRCDIRS here because
10
+# not all of libraries/*/src contain source files, some are
11
+# header-only...
12
+set(COMPONENT_SRCS cores/esp32/ cores/esp32/libb64 ${core_srcs})
13
14
+file(GLOB core_lib_dirs LIST_DIRECTORIES true
15
+ libraries/*/src/)
16
17
+set(COMPONENT_ADD_INCLUDEDIRS cores/esp32 variants/esp32 ${core_lib_dirs})
18
+set(COMPONENT_PRIV_INCLUDEDIRS cores/esp32/libb64)
19
20
+set(COMPONENT_REQUIRES spi_flash mbedtls mdns ethernet)
21
+set(COMPONENT_PRIV_REQUIRES fatfs nvs_flash app_update spiffs bootloader_support)
22
23
+register_component()
24
0 commit comments