Skip to content

Commit

Permalink
change(global): add set(COMPONENTS main) in more apps
Browse files Browse the repository at this point in the history
  • Loading branch information
igrr committed Sep 23, 2024
1 parent b5e30df commit 5dc5e74
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 10 deletions.
1 change: 1 addition & 0 deletions cbor/examples/cbor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
cmake_minimum_required(VERSION 3.16)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)
set(COMPONENTS main)
project(cbor)
5 changes: 1 addition & 4 deletions coap/examples/coap_client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.16)

# (Not part of the boilerplate)
# This example uses an extra component for common functions such as Wi-Fi and Ethernet connection.
set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/common_components/protocol_examples_common)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)
set(COMPONENTS main)
project(coap_client)
2 changes: 2 additions & 0 deletions coap/examples/coap_client/main/idf_component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ dependencies:
espressif/coap:
version: "^4.3.0"
override_path: '../../../'
protocol_examples_common:
path: ${IDF_PATH}/examples/common_components/protocol_examples_common
5 changes: 1 addition & 4 deletions coap/examples/coap_server/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.16)

# (Not part of the boilerplate)
# This example uses an extra component for common functions such as Wi-Fi and Ethernet connection.
set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/common_components/protocol_examples_common)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)
set(COMPONENTS main)
project(coap_server)
2 changes: 2 additions & 0 deletions coap/examples/coap_server/main/idf_component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ dependencies:
espressif/coap:
version: "^4.3.0"
override_path: '../../../'
protocol_examples_common:
path: ${IDF_PATH}/examples/common_components/protocol_examples_common
1 change: 1 addition & 0 deletions eigen/examples/svd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
set(COMPONENTS main)
project(Eigen_SVD)

2 changes: 1 addition & 1 deletion esp_delta_ota/examples/https_delta_ota/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 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)
list(APPEND EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/common_components/protocol_examples_common)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)
set(COMPONENTS main)
project(https_delta_ota)
2 changes: 2 additions & 0 deletions esp_delta_ota/examples/https_delta_ota/main/idf_component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ dependencies:
espressif/esp_delta_ota:
version: '1.*'
override_path: '../../../'
protocol_examples_common:
path: ${IDF_PATH}/examples/common_components/protocol_examples_common
1 change: 1 addition & 0 deletions esp_jpeg/examples/get_started/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
cmake_minimum_required(VERSION 3.16)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)
set(COMPONENTS main)
project(lcd_tjpgd)
3 changes: 2 additions & 1 deletion esp_jpeg/examples/get_started/main/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ set(srcs "pretty_effect.c"

idf_component_register(SRCS ${srcs}
INCLUDE_DIRS "."
EMBED_FILES image.jpg)
EMBED_FILES image.jpg
PRIV_REQUIRES esp_lcd)
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
cmake_minimum_required(VERSION 3.16)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)
set(COMPONENTS main)
project(lcd_qemu_rgb_panel)
1 change: 1 addition & 0 deletions iqmath/examples/get_started/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
cmake_minimum_required(VERSION 3.16)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)
set(COMPONENTS main)
project(iqmath_get_started)
1 change: 1 addition & 0 deletions network_provisioning/examples/wifi_prov/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
cmake_minimum_required(VERSION 3.16)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)
set(COMPONENTS main)
project(wifi_prov)

0 comments on commit 5dc5e74

Please sign in to comment.