Skip to main content
`Ctrl`+`K`

# numpy.distutils.ccompiler.CCompiler_object_filenames

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

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

  Parameters:
    source_filenames list of str

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

    strip_dir bool, 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_dir str, optional

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

  Returns:
    obj_names list of str

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