mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-06-25 17:31:33 +02:00
fix(asio): reference protocol_examples_common from IDF
This makes the example project usable from the component registry
This commit is contained in:
committed by
David Cermak
parent
d5e789883f
commit
09abb18be6
@ -2,9 +2,5 @@
|
|||||||
# in this exact order for cmake to work correctly
|
# in this exact order for cmake to work correctly
|
||||||
cmake_minimum_required(VERSION 3.16)
|
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 ../.. ../../../../common_components/protocol_examples_common)
|
|
||||||
|
|
||||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||||
project(asio_chat)
|
project(asio_chat)
|
||||||
|
@ -4,3 +4,5 @@ dependencies:
|
|||||||
espressif/asio:
|
espressif/asio:
|
||||||
version: "^1.14.1"
|
version: "^1.14.1"
|
||||||
override_path: "../../../"
|
override_path: "../../../"
|
||||||
|
protocol_examples_common:
|
||||||
|
path: ${IDF_PATH}/examples/common_components/protocol_examples_common
|
||||||
|
@ -2,9 +2,5 @@
|
|||||||
# in this exact order for cmake to work correctly
|
# in this exact order for cmake to work correctly
|
||||||
cmake_minimum_required(VERSION 3.16)
|
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 ../../../../common_components/protocol_examples_common)
|
|
||||||
|
|
||||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||||
project(async_http_request)
|
project(async_http_request)
|
||||||
|
@ -4,3 +4,5 @@ dependencies:
|
|||||||
espressif/asio:
|
espressif/asio:
|
||||||
version: "^1.14.1"
|
version: "^1.14.1"
|
||||||
override_path: "../../../"
|
override_path: "../../../"
|
||||||
|
protocol_examples_common:
|
||||||
|
path: ${IDF_PATH}/examples/common_components/protocol_examples_common
|
||||||
|
@ -2,9 +2,5 @@
|
|||||||
# in this exact order for cmake to work correctly
|
# in this exact order for cmake to work correctly
|
||||||
cmake_minimum_required(VERSION 3.16)
|
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 ../../../../common_components/protocol_examples_common)
|
|
||||||
|
|
||||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||||
project(asio_sock4)
|
project(asio_sock4)
|
||||||
|
@ -4,3 +4,5 @@ dependencies:
|
|||||||
espressif/asio:
|
espressif/asio:
|
||||||
version: "^1.14.1"
|
version: "^1.14.1"
|
||||||
override_path: "../../../"
|
override_path: "../../../"
|
||||||
|
protocol_examples_common:
|
||||||
|
path: ${IDF_PATH}/examples/common_components/protocol_examples_common
|
||||||
|
@ -2,9 +2,6 @@
|
|||||||
# in this exact order for cmake to work correctly
|
# in this exact order for cmake to work correctly
|
||||||
cmake_minimum_required(VERSION 3.16)
|
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 ../../../../common_components/protocol_examples_common)
|
|
||||||
set(EXCLUDE_COMPONENTS openssl)
|
set(EXCLUDE_COMPONENTS openssl)
|
||||||
|
|
||||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||||
|
@ -4,3 +4,5 @@ dependencies:
|
|||||||
espressif/asio:
|
espressif/asio:
|
||||||
version: "^1.14.1"
|
version: "^1.14.1"
|
||||||
override_path: "../../../"
|
override_path: "../../../"
|
||||||
|
protocol_examples_common:
|
||||||
|
path: ${IDF_PATH}/examples/common_components/protocol_examples_common
|
||||||
|
@ -2,9 +2,5 @@
|
|||||||
# in this exact order for cmake to work correctly
|
# in this exact order for cmake to work correctly
|
||||||
cmake_minimum_required(VERSION 3.16)
|
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 ../../../../common_components/protocol_examples_common)
|
|
||||||
|
|
||||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||||
project(asio_tcp_echo_server)
|
project(asio_tcp_echo_server)
|
||||||
|
@ -4,3 +4,5 @@ dependencies:
|
|||||||
espressif/asio:
|
espressif/asio:
|
||||||
version: "^1.14.1"
|
version: "^1.14.1"
|
||||||
override_path: "../../../"
|
override_path: "../../../"
|
||||||
|
protocol_examples_common:
|
||||||
|
path: ${IDF_PATH}/examples/common_components/protocol_examples_common
|
||||||
|
@ -2,9 +2,5 @@
|
|||||||
# in this exact order for cmake to work correctly
|
# in this exact order for cmake to work correctly
|
||||||
cmake_minimum_required(VERSION 3.16)
|
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 ../../../../common_components/protocol_examples_common)
|
|
||||||
|
|
||||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||||
project(asio_udp_echo_server)
|
project(asio_udp_echo_server)
|
||||||
|
@ -4,3 +4,5 @@ dependencies:
|
|||||||
espressif/asio:
|
espressif/asio:
|
||||||
version: "^1.14.1"
|
version: "^1.14.1"
|
||||||
override_path: "../../../"
|
override_path: "../../../"
|
||||||
|
protocol_examples_common:
|
||||||
|
path: ${IDF_PATH}/examples/common_components/protocol_examples_common
|
||||||
|
Reference in New Issue
Block a user