Lines Matching refs:ext
54 for ext in self.extensions:
55 filenames.extend(ext.depends)
58 def build_extension(self, ext): argument
59 if ext.sources is None or not isinstance(ext.sources, (list, tuple)):
63 "a list of source filenames" % ext.name)
65 ext_path = self.get_ext_fullpath(ext.name)
66 depends = ext.sources + ext.depends
68 log.debug("skipping '%s' extension (up-to-date)", ext.name)
71 log.info("building '%s' extension", ext.name)
75 for source in ext.sources:
80 extra_args = ext.extra_compile_args or []
88 macros = ext.define_macros[:]
96 for undef in ext.undef_macros:
103 include_dirs=ext.include_dirs,
106 depends=ext.depends)
110 if ext.extra_objects:
111 objects.extend(ext.extra_objects)
112 extra_args = ext.extra_link_args or []
118 ext_path = self.get_ext_fullpath(ext.name)
120 language = ext.language or self.compiler.detect_language(sources)
125 libraries=self.get_libraries(ext),
126 library_dirs=ext.library_dirs,
127 runtime_library_dirs=ext.runtime_library_dirs,
129 export_symbols=self.get_export_symbols(ext),