(headers_dir, install_args)
| 12 | |
| 13 | # Run install.py to install headers. |
| 14 | def generate_headers(headers_dir, install_args): |
| 15 | print('Generating headers') |
| 16 | subprocess.check_call([ |
| 17 | sys.executable, |
| 18 | os.path.join(ROOT_DIR, 'tools/install.py'), |
| 19 | 'install', |
| 20 | '--silent', |
| 21 | '--headers-only', |
| 22 | '--prefix', '/', |
| 23 | '--dest-dir', headers_dir, |
| 24 | ] + install_args) |
| 25 | |
| 26 | # Rebuild addons in parallel. |
| 27 | def rebuild_addons(args): |