mirror of
				https://github.com/espressif/esp-protocols.git
				synced 2025-11-04 08:31:37 +01:00 
			
		
		
		
	
		
			
	
	
		
			13 lines
		
	
	
		
			440 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
		
		
			
		
	
	
			13 lines
		
	
	
		
			440 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| 
								 | 
							
								set(SRC_FILES "lws-client.c") # Define source files
							 | 
						||
| 
								 | 
							
								set(INCLUDE_DIRS ".") # Define include directories
							 | 
						||
| 
								 | 
							
								set(EMBED_FILES "") # Initialize an empty list for files to embed
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								list(APPEND EMBED_FILES
							 | 
						||
| 
								 | 
							
								    "certs/client_cert.pem"
							 | 
						||
| 
								 | 
							
								    "certs/ca_cert.pem"
							 | 
						||
| 
								 | 
							
								    "certs/client_key.pem")
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								idf_component_register(SRCS "${SRC_FILES}"
							 | 
						||
| 
								 | 
							
								                       INCLUDE_DIRS "${INCLUDE_DIRS}"
							 | 
						||
| 
								 | 
							
								                       EMBED_TXTFILES "${EMBED_FILES}")
							 |