mirror of
https://github.com/manuelbl/ttn-esp32.git
synced 2025-06-15 12:24:27 +02:00
Add library as extra component for examples (cmake)
This commit is contained in:
parent
31b859cdf4
commit
cf94bba4af
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user