mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-07 20:00:53 +00:00
feat(examples): add local components via idf_component.yml
Specifying all the dependencies (managed and local) in the manifest makes it easier for users to see every component the example depends on.
This commit is contained in:
@@ -2,8 +2,5 @@
|
||||
# CMakeLists in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
# This example uses an extra component for common functions for Bluetooth HCI layer.
|
||||
set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/bluetooth/hci/hci_common_component)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(ble_adv_scan)
|
||||
|
@@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
hci_common_component:
|
||||
path: ${IDF_PATH}/examples/bluetooth/hci/hci_common_component
|
@@ -2,8 +2,5 @@
|
||||
# CMakeLists in this exact order for cmake to work correctly
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
# This example uses an extra component for common functions for Bluetooth HCI layer.
|
||||
set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/bluetooth/hci/hci_common_component)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(ble_adv)
|
||||
|
@@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
hci_common_component:
|
||||
path: ${IDF_PATH}/examples/bluetooth/hci/hci_common_component
|
Reference in New Issue
Block a user