mirror of
				https://github.com/manuelbl/ttn-esp32.git
				synced 2025-10-31 18:50:33 +01:00 
			
		
		
		
	Add library as extra component for examples (cmake)
This commit is contained in:
		| @ -2,5 +2,8 @@ | |||||||
| # CMakeLists in this exact order for cmake to work correctly | # CMakeLists in this exact order for cmake to work correctly | ||||||
| cmake_minimum_required(VERSION 3.5) | cmake_minimum_required(VERSION 3.5) | ||||||
|  |  | ||||||
|  | get_filename_component(TTN_DIR ../.. ABSOLUTE) | ||||||
|  | set(EXTRA_COMPONENT_DIRS "${TTN_DIR}") | ||||||
|  |  | ||||||
| include($ENV{IDF_PATH}/tools/cmake/project.cmake) | include($ENV{IDF_PATH}/tools/cmake/project.cmake) | ||||||
| project(hello_world) | project(hello_world) | ||||||
|  | |||||||
| @ -2,5 +2,8 @@ | |||||||
| # CMakeLists in this exact order for cmake to work correctly | # CMakeLists in this exact order for cmake to work correctly | ||||||
| cmake_minimum_required(VERSION 3.5) | cmake_minimum_required(VERSION 3.5) | ||||||
|  |  | ||||||
|  | get_filename_component(TTN_DIR ../.. ABSOLUTE) | ||||||
|  | set(EXTRA_COMPONENT_DIRS "${TTN_DIR}") | ||||||
|  |  | ||||||
| include($ENV{IDF_PATH}/tools/cmake/project.cmake) | include($ENV{IDF_PATH}/tools/cmake/project.cmake) | ||||||
| project(mac_address) | project(mac_address) | ||||||
|  | |||||||
| @ -2,5 +2,8 @@ | |||||||
| # CMakeLists in this exact order for cmake to work correctly | # CMakeLists in this exact order for cmake to work correctly | ||||||
| cmake_minimum_required(VERSION 3.5) | cmake_minimum_required(VERSION 3.5) | ||||||
|  |  | ||||||
|  | get_filename_component(TTN_DIR ../.. ABSOLUTE) | ||||||
|  | set(EXTRA_COMPONENT_DIRS "${TTN_DIR}") | ||||||
|  |  | ||||||
| include($ENV{IDF_PATH}/tools/cmake/project.cmake) | include($ENV{IDF_PATH}/tools/cmake/project.cmake) | ||||||
| project(provisioning) | project(provisioning) | ||||||
|  | |||||||
| @ -2,5 +2,8 @@ | |||||||
| # CMakeLists in this exact order for cmake to work correctly | # CMakeLists in this exact order for cmake to work correctly | ||||||
| cmake_minimum_required(VERSION 3.5) | cmake_minimum_required(VERSION 3.5) | ||||||
|  |  | ||||||
|  | get_filename_component(TTN_DIR ../.. ABSOLUTE) | ||||||
|  | set(EXTRA_COMPONENT_DIRS "${TTN_DIR}") | ||||||
|  |  | ||||||
| include($ENV{IDF_PATH}/tools/cmake/project.cmake) | include($ENV{IDF_PATH}/tools/cmake/project.cmake) | ||||||
| project(send_recv) | project(send_recv) | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user