|
|
преди 8 месеца | |
|---|---|---|
| .. | ||
| docs | преди 8 месеца | |
| scripts | преди 8 месеца | |
| test_apps | преди 8 месеца | |
| .component_hash | преди 8 месеца | |
| CHANGELOG.md | преди 8 месеца | |
| CMakeLists.txt | преди 8 месеца | |
| Kconfig | преди 8 месеца | |
| README.md | преди 8 месеца | |
| cmake_utilities.cmake | преди 8 месеца | |
| gcc.cmake | преди 8 месеца | |
| gen_compressed_ota.cmake | преди 8 месеца | |
| gen_single_bin.cmake | преди 8 месеца | |
| idf_component.yml | преди 8 месеца | |
| license.txt | преди 8 месеца | |
| package_manager.cmake | преди 8 месеца | |
| project_include.cmake | преди 8 месеца | |
| relinker.cmake | преди 8 месеца | |
This component is aiming to provide some useful CMake utilities outside of ESP-IDF.
Add dependency of this component in your component or project's idf_component.yml.
dependencies:
espressif/cmake_utilities: "0.*"
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)
Then you can use the corresponding CMake function which is provided by the CMake file.