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