(target_path, module_name)
| 95 | write_module_cmakelists(os.path.join(target_path, f"Drivers/{driver_name}/CMakeLists.txt"), cmakelists_content) |
| 96 | |
| 97 | def add_module(target_path, module_name): |
| 98 | mappings = get_module_mappings(module_name) |
| 99 | map_copy(mappings, target_path) |
| 100 | cmakelists_content = create_module_cmakelists(module_name) |
| 101 | write_module_cmakelists(os.path.join(target_path, f"Modules/{module_name}/CMakeLists.txt"), cmakelists_content) |
| 102 | |
| 103 | def main(): |
| 104 | if len(sys.argv) < 2: |
no test coverage detected