| 
									
										
										
										
											2020-12-15 13:10:10 +00:00
										 |  |  | # The following four lines of boilerplate have to be in your project's CMakeLists
 | 
					
						
							|  |  |  | # in this exact order for cmake to work correctly
 | 
					
						
							| 
									
										
										
										
											2022-05-27 10:10:51 +02:00
										 |  |  | cmake_minimum_required(VERSION 3.16)
 | 
					
						
							| 
									
										
										
										
											2020-12-15 13:10:10 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | # (Not part of the boilerplate)
 | 
					
						
							|  |  |  | # This example uses an extra component for common functions such as Wi-Fi and Ethernet connection.
 | 
					
						
							| 
									
										
										
										
											2022-10-13 17:17:15 +02:00
										 |  |  | # The path to esp_mqtt_cxx is also added.
 | 
					
						
							|  |  |  | set(EXTRA_COMPONENT_DIRS | 
					
						
							|  |  |  |     "../../../../common_components/protocol_examples_common" "../../")
 | 
					
						
							| 
									
										
										
										
											2020-12-15 13:10:10 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | include($ENV{IDF_PATH}/tools/cmake/project.cmake)
 | 
					
						
							|  |  |  | project(mqtt_tcp_cxx)
 |