8000 Fix for greedy file(GLOB) · orotalt/esp32-snippets@b3670f1 · GitHub
[go: up one dir, main page]

Skip to content

Commit b3670f1

Browse files
committed
Fix for greedy file(GLOB)
1 parent 20c0900 commit b3670f1

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

cpp_utils/CMakeLists.txt

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
11
# Edit following two lines to set component requirements (see docs)
2-
set(COMPONENT_REQUIRES )
2+
set(COMPONENT_REQUIRES
3+
"console"
4+
"fatfs"
5+
"json"
6+
"mdns"
7+
"nvs_flash"
8+
)
39
set(COMPONENT_PRIV_REQUIRES )
410

11+
file(GLOB COMPONENT_SRCS
12+
LIST_DIRECTORIES false
13+
"*.h"
14+
"*.cpp"
15+
"*.c"
16+
"*.S"
17+
)
518
set(COMPONENT_ADD_INCLUDEDIRS ".")
619

720
register_component()

0 commit comments

Comments
 (0)
0