Skip to content

Commit 30ee858

Browse files
authored
Merge pull request #770 from srounce/srounce-add-cmakelists
Add CMake support
2 parents 9c9ce98 + b3670f1 commit 30ee858

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

cpp_utils/CMakeLists.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Edit following two lines to set component requirements (see docs)
2+
set(COMPONENT_REQUIRES
3+
"console"
4+
"fatfs"
5+
"json"
6+
"mdns"
7+
"nvs_flash"
8+
)
9+
set(COMPONENT_PRIV_REQUIRES )
10+
11+
file(GLOB COMPONENT_SRCS
12+
LIST_DIRECTORIES false
13+
"*.h"
14+
"*.cpp"
15+
"*.c"
16+
"*.S"
17+
)
18+
set(COMPONENT_ADD_INCLUDEDIRS ".")
19+
20+
register_component()

0 commit comments

Comments
 (0)