(module_name)
| 76 | ] |
| 77 | |
| 78 | def create_module_cmakelists(module_name): |
| 79 | return dedent(f''' |
| 80 | cmake_minimum_required(VERSION 3.20) |
| 81 | idf_component_register( |
| 82 | INCLUDE_DIRS "include" |
| 83 | ) |
| 84 | add_prebuilt_library({module_name} "binary/lib{module_name}.a") |
| 85 | '''.format(module_name=module_name)) |
| 86 | |
| 87 | def write_module_cmakelists(path, content): |
| 88 | with open(path, 'w') as f: |
no outgoing calls
no test coverage detected