File: //lib64/python3.8/distutils/__pycache__/ccompiler.cpython-38.opt-1.pyc
U
e5dI @ s d Z ddlZddlZddlZddlT ddlmZ ddlmZ ddl m
Z
ddlmZm
Z
ddlmZmZ dd lmZ G d
d dZdZdd
dZddddddZdd ZdddZdd Zdd ZdS )zdistutils.ccompiler
Contains CCompiler, an abstract base class that defines the interface
for the Distutils compiler abstraction model. N)*)spawn) move_file)mkpath)newer_pairwisenewer_group)split_quotedexecute)logc
@ s e Zd ZdZdZdZdZdZdZdZ dZ
dZddddddZdddgZ
dqdd Zd
d Zdd
Zdd Zdd ZdrddZdd Zdd Zdd Zdd Zdd Zdd Zd d! Zd"d# Zd$d% Zd&d' Zd(d) Zd*d+ Zd,d- Z d.d/ Z!dsd0d1Z"d2d3 Z#d4d5 Z$d6d7 Z%d8d9 Z&dtd:d;Z'dud<d=Z(d>d? Z)dvd@dAZ*dBZ+dCZ,dDZ-dwdEdFZ.dxdGdHZ/dydIdJZ0dzdKdLZ1dMdN Z2dOdP Z3dQdR Z4d{dSdTZ5d|dUdVZ6d}dXdYZ7d~dZd[Z8dd\d]Z9dd_d`Z:ddbdcZ;ddde Z<dfdg Z=ddhdiZ>djdk Z?dldm Z@ddodpZAdS ) CCompilera Abstract base class to define the interface that must be implemented
by real compiler classes. Also has some utility methods used by
several compiler classes.
The basic idea behind a compiler abstraction class is that each
instance can be used for all the compile/link steps in building a
single project. Thus, attributes common to all of those compile and
link steps -- include directories, macros to define, libraries to link
against, etc. -- are attributes of the compiler instance. To allow for
variability in how individual files are treated, most of those
attributes may be varied on a per-compilation or per-link basis.
Nczc++Zobjc).cz.ccz.cppz.cxxz.mr c C sb || _ || _|| _d | _g | _g | _g | _g | _g | _g | _ | j
D ]}| || j
| qFd S N)
dry_runforceverbose
output_dirmacrosinclude_dirs librarieslibrary_dirsruntime_library_dirsobjectsexecutableskeysset_executable)selfr r r key r +/usr/lib64/python3.8/distutils/ccompiler.py__init__U s zCCompiler.__init__c K s<