Adds fmtlib component

- Adds fmtlib version 9.1.0
This commit is contained in:
Euripedes Rocha 2022-10-11 11:08:14 +02:00
parent e0d2be1d9f
commit daa52393ea
8 changed files with 27 additions and 1 deletions

View File

@ -21,5 +21,6 @@ jobs:
usb/usb_host_msc;
usb/usb_host_uvc;
usb/esp_modem_usb_dte;
fmt;
namespace: "espressif"
api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }}

3
.gitmodules vendored
View File

@ -19,3 +19,6 @@
[submodule "eigen/eigen"]
path = eigen/eigen
url = https://gitlab.com/libeigen/eigen.git
[submodule "fmt/fmt"]
path = fmt/fmt
url = https://github.com/fmtlib/fmt.git

6
fmt/CMakeLists.txt Normal file
View File

@ -0,0 +1,6 @@
idf_component_register( )
add_subdirectory(fmt)
target_link_libraries(${COMPONENT_LIB} INTERFACE fmt::fmt)

1
fmt/LICENSE.rst Symbolic link
View File

@ -0,0 +1 @@
fmt/LICENSE.rst

9
fmt/README.md Normal file
View File

@ -0,0 +1,9 @@
# FMT
**fmt** is an open-source formatting library providing a fast and safe
alternative to C stdio and C++ iostreams.
See the project [README](fmt/README.rst) for details.

1
fmt/fmt Submodule

@ -0,0 +1 @@
Subproject commit a33701196adfad74917046096bf5a2aa0ab0bb50

5
fmt/idf_component.yml Normal file
View File

@ -0,0 +1,5 @@
version: "9.1.0"
description: Formatting library providing a fast and safe alternative to C stdio and C++ iostreams.
url: https://github.com/espressif/idf-extra-components/tree/master/fmt
dependencies:
idf: ">=4.1"

View File

@ -5,7 +5,7 @@ include($ENV{IDF_PATH}/tools/cmake/version.cmake)
# Add newly added components to one of these lines:
# 1. Add here if the component is compatible with IDF >= v4.3
set(EXTRA_COMPONENT_DIRS ../libsodium ../expat ../cbor ../jsmn ../qrcode ../coap ../eigen)
set(EXTRA_COMPONENT_DIRS ../libsodium ../expat ../cbor ../jsmn ../qrcode ../coap ../eigen ../fmt)
# 2. Add here if the component is compatible with IDF >= v4.4
if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_GREATER_EQUAL "4.4")