(filename, target)
| 203 | |
| 204 | @staticmethod |
| 205 | def install_file(filename, target): |
| 206 | sysroot = cache.get_sysroot_dir() |
| 207 | target_dir = os.path.join(sysroot, os.path.dirname(target)) |
| 208 | os.makedirs(target_dir, exist_ok=True) |
| 209 | maybe_copy(filename, os.path.join(sysroot, target)) |
| 210 | |
| 211 | @staticmethod |
| 212 | def install_headers(src_dir, pattern='*.h', target=None): |
no test coverage detected