numpy.distutils.ccompiler.CCompiler_object_filenames

distutils.ccompiler.CCompiler_object_filenames(self, source_filenames, strip_dir=0, output_dir='')[source]

Return the name of the object files for the given source files.

Parameters
source_filenameslist of str

The list of paths to source files. Paths can be either relative or absolute, this is handled transparently.

strip_dirbool, optional

Whether to strip the directory from the returned paths. If True, the file name prepended by output_dir is returned. Default is False.

output_dirstr, optional

If given, this path is prepended to the returned paths to the object files.

Returns
obj_nameslist of str

The list of paths to the object files corresponding to the source files in source_filenames.