- extension/src/{port,platform,codepage} -> src/; native_render -> src/host
(+ dxt, shaders/); libgr2 -> src/gr2; extension/third_party -> third_party
- extension/tests -> tests/port, libgr2/tests -> tests/gr2
- android-native -> android (build.sh, push-client.sh moved in)
- script -> scripts; tools/40250 -> tools/server; oracle -> tools/granny-oracle;
perf tools -> tools/perf
- all build trees under build/ (native, release, android, port-gate)
- xrender:: CMake aliases -> mt::; port-map ledger impl paths rewritten
No code changes. ctest 15/15, port_gate macos+android PASS, port_map check 0 errors.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
52 lines
1.3 KiB
Python
52 lines
1.3 KiB
Python
"""distutils.command.install_headers
|
|
|
|
Implements the Distutils 'install_headers' command, to install C/C++ header
|
|
files to the Python include directory."""
|
|
|
|
__revision__ = "$Id$"
|
|
|
|
from distutils.core import Command
|
|
|
|
|
|
# XXX force is never used
|
|
class install_headers(Command):
|
|
|
|
description = "install C/C++ header files"
|
|
|
|
user_options = [('install-dir=', 'd',
|
|
"directory to install header files to"),
|
|
('force', 'f',
|
|
"force installation (overwrite existing files)"),
|
|
]
|
|
|
|
boolean_options = ['force']
|
|
|
|
def initialize_options(self):
|
|
self.install_dir = None
|
|
self.force = 0
|
|
self.outfiles = []
|
|
|
|
def finalize_options(self):
|
|
self.set_undefined_options('install',
|
|
('install_headers', 'install_dir'),
|
|
('force', 'force'))
|
|
|
|
|
|
def run(self):
|
|
headers = self.distribution.headers
|
|
if not headers:
|
|
return
|
|
|
|
self.mkpath(self.install_dir)
|
|
for header in headers:
|
|
(out, _) = self.copy_file(header, self.install_dir)
|
|
self.outfiles.append(out)
|
|
|
|
def get_inputs(self):
|
|
return self.distribution.headers or []
|
|
|
|
def get_outputs(self):
|
|
return self.outfiles
|
|
|
|
# class install_headers
|