DockerFluxDC/managed_components/espressif__cmake_utilities
2025-11-28 01:58:45 +00:00
..
docs 添加必要的外部第三方组件并编译成功 2025-11-28 01:58:45 +00:00
scripts 添加必要的外部第三方组件并编译成功 2025-11-28 01:58:45 +00:00
test_apps 添加必要的外部第三方组件并编译成功 2025-11-28 01:58:45 +00:00
.component_hash 添加必要的外部第三方组件并编译成功 2025-11-28 01:58:45 +00:00
CHANGELOG.md 添加必要的外部第三方组件并编译成功 2025-11-28 01:58:45 +00:00
CHECKSUMS.json 添加必要的外部第三方组件并编译成功 2025-11-28 01:58:45 +00:00
cmake_utilities.cmake 添加必要的外部第三方组件并编译成功 2025-11-28 01:58:45 +00:00
CMakeLists.txt 添加必要的外部第三方组件并编译成功 2025-11-28 01:58:45 +00:00
gcc.cmake 添加必要的外部第三方组件并编译成功 2025-11-28 01:58:45 +00:00
gen_compressed_ota.cmake 添加必要的外部第三方组件并编译成功 2025-11-28 01:58:45 +00:00
gen_single_bin.cmake 添加必要的外部第三方组件并编译成功 2025-11-28 01:58:45 +00:00
idf_component.yml 添加必要的外部第三方组件并编译成功 2025-11-28 01:58:45 +00:00
Kconfig 添加必要的外部第三方组件并编译成功 2025-11-28 01:58:45 +00:00
license.txt 添加必要的外部第三方组件并编译成功 2025-11-28 01:58:45 +00:00
package_manager.cmake 添加必要的外部第三方组件并编译成功 2025-11-28 01:58:45 +00:00
project_include.cmake 添加必要的外部第三方组件并编译成功 2025-11-28 01:58:45 +00:00
README.md 添加必要的外部第三方组件并编译成功 2025-11-28 01:58:45 +00:00
relinker.cmake 添加必要的外部第三方组件并编译成功 2025-11-28 01:58:45 +00:00

Cmake utilities

Component Registry

This component is aiming to provide some useful CMake utilities outside of ESP-IDF.

Use

  1. Add dependency of this component in your component or project's idf_component.yml.

    dependencies:
      espressif/cmake_utilities: "0.*"
    
  2. Include the CMake file you need in your component's CMakeLists.txt after idf_component_register, or in your project's CMakeLists.txt

    // Note: should remove .cmake postfix when using include(), otherwise the requested file will not found
    // Note: should place this line after `idf_component_register` function
    // only include the one you needed.
    include(package_manager)
    
  3. Then you can use the corresponding CMake function which is provided by the CMake file.

Supported features

  1. relinker
  2. gen_compressed_ota
  3. GCC Optimization