mirror of
				https://github.com/manuelbl/ttn-esp32.git
				synced 2025-10-31 10:40:35 +01:00 
			
		
		
		
	Add cmake files for examples
This commit is contained in:
		
							
								
								
									
										6
									
								
								examples/hello_world/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								examples/hello_world/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,6 @@ | ||||
| # The following lines of boilerplate have to be in your project's | ||||
| # CMakeLists in this exact order for cmake to work correctly | ||||
| cmake_minimum_required(VERSION 3.5) | ||||
|  | ||||
| include($ENV{IDF_PATH}/tools/cmake/project.cmake) | ||||
| project(hello_world) | ||||
							
								
								
									
										4
									
								
								examples/hello_world/main/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								examples/hello_world/main/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,4 @@ | ||||
| set(COMPONENT_SRCS "main.cpp") | ||||
| set(COMPONENT_ADD_INCLUDEDIRS "") | ||||
|  | ||||
| register_component() | ||||
							
								
								
									
										6
									
								
								examples/mac_address/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								examples/mac_address/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,6 @@ | ||||
| # The following lines of boilerplate have to be in your project's | ||||
| # CMakeLists in this exact order for cmake to work correctly | ||||
| cmake_minimum_required(VERSION 3.5) | ||||
|  | ||||
| include($ENV{IDF_PATH}/tools/cmake/project.cmake) | ||||
| project(mac_address) | ||||
							
								
								
									
										4
									
								
								examples/mac_address/main/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								examples/mac_address/main/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,4 @@ | ||||
| set(COMPONENT_SRCS "main.cpp") | ||||
| set(COMPONENT_ADD_INCLUDEDIRS "") | ||||
|  | ||||
| register_component() | ||||
							
								
								
									
										6
									
								
								examples/provisioning/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								examples/provisioning/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,6 @@ | ||||
| # The following lines of boilerplate have to be in your project's | ||||
| # CMakeLists in this exact order for cmake to work correctly | ||||
| cmake_minimum_required(VERSION 3.5) | ||||
|  | ||||
| include($ENV{IDF_PATH}/tools/cmake/project.cmake) | ||||
| project(provisioning) | ||||
							
								
								
									
										4
									
								
								examples/provisioning/main/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								examples/provisioning/main/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,4 @@ | ||||
| set(COMPONENT_SRCS "main.cpp") | ||||
| set(COMPONENT_ADD_INCLUDEDIRS "") | ||||
|  | ||||
| register_component() | ||||
							
								
								
									
										6
									
								
								examples/send_recv/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								examples/send_recv/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,6 @@ | ||||
| # The following lines of boilerplate have to be in your project's | ||||
| # CMakeLists in this exact order for cmake to work correctly | ||||
| cmake_minimum_required(VERSION 3.5) | ||||
|  | ||||
| include($ENV{IDF_PATH}/tools/cmake/project.cmake) | ||||
| project(send_recv) | ||||
							
								
								
									
										4
									
								
								examples/send_recv/main/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								examples/send_recv/main/CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,4 @@ | ||||
| set(COMPONENT_SRCS "main.cpp") | ||||
| set(COMPONENT_ADD_INCLUDEDIRS "") | ||||
|  | ||||
| register_component() | ||||
		Reference in New Issue
	
	Block a user