8000 Fix for greedy file(GLOB) · Kilill/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
< 7165 td data-grid-cell-id="diff-e4fdd9e606f8c353f8cb052563c4733ad3862c06ef8ed1e4fd52ce4068b34534-3-9-0" data-selected="false" role="gridcell" style="background-color:var(--bgColor-default);text-align:center" tabindex="-1" valign="top" class="focusable-grid-cell diff-line-number position-relative diff-line-number-neutral left-side">3
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+
)
9
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