mirror of
				https://github.com/espressif/esp-protocols.git
				synced 2025-11-04 00:21:37 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			557 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			557 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
idf_component_register(SRCS "console_ping.c" "console_getaddrinfo.c" "console_getsetdnsserver.c"
 | 
						|
                    INCLUDE_DIRS "."
 | 
						|
                    PRIV_REQUIRES esp_netif console)
 | 
						|
 | 
						|
if(CONFIG_PING_CMD_AUTO_REGISTRATION)
 | 
						|
    target_link_libraries(${COMPONENT_LIB} "-u console_cmd_ping_register")
 | 
						|
    target_link_libraries(${COMPONENT_LIB} "-u console_cmd_getaddrinfo_register")
 | 
						|
    target_link_libraries(${COMPONENT_LIB} "-u console_cmd_setdnsserver_register")
 | 
						|
    target_link_libraries(${COMPONENT_LIB} "-u console_cmd_getdnsserver_register")
 | 
						|
endif()
 |