# 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.

      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.

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](


Supports all targets

License: Apache-2.0

To add this component to your project, run: add-dependency "espressif/cmake_utilities^0.5.3"

or download archive


  • Downloaded in total
    Downloaded in total 214.6k times
  • Downloaded this version
    This version: 128.1k times


espressif/cmake_utilities version: 0.5.3