mirror of
				https://github.com/manuelbl/ttn-esp32.git
				synced 2025-10-31 10:40:35 +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 | ||||
| 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) | ||||
| project(hello_world) | ||||
|  | ||||
| @ -2,5 +2,8 @@ | ||||
| # CMakeLists in this exact order for cmake to work correctly | ||||
| 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) | ||||
| project(mac_address) | ||||
|  | ||||
| @ -2,5 +2,8 @@ | ||||
| # CMakeLists in this exact order for cmake to work correctly | ||||
| 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) | ||||
| project(provisioning) | ||||
|  | ||||
| @ -2,5 +2,8 @@ | ||||
| # CMakeLists in this exact order for cmake to work correctly | ||||
| 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) | ||||
| project(send_recv) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user