File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
- set (COMPONENT_SRCDIRS "." )
1
+ set (COMPONENT_SRCS "mdns.c"
2
+ "mdns_console.c"
3
+ "mdns_networking.c" )
2
4
set (COMPONENT_ADD_INCLUDEDIRS "include" )
3
5
set (COMPONENT_PRIV_INCLUDEDIRS "private_include" )
4
6
set (COMPONENT_REQUIRES lwip mbedtls console tcpip_adapter )
Original file line number Diff line number Diff line change 1
- # The following four lines of boilerplate have to be in your project's CMakeLists
1
+ # The following lines of boilerplate have to be in your project's CMakeLists
2
2
# in this exact order for cmake to work correctly
3
3
cmake_minimum_required (VERSION 3.5 )
4
4
5
- set (MAIN_SRCS main/mdns_example_main.c )
6
-
7
5
include ($ENV{IDF_PATH} /tools/cmake/project.cmake )
8
6
project (mdns-test )
Original file line number Diff line number Diff line change
1
+ set (COMPONENT_SRCS "mdns_example_main.c" )
2
+ set (COMPONENT_ADD_INCLUDEDIRS "." )
3
+
4
+ register_component ()
You can’t perform that action at this time.
0 commit comments