(self, ext)
Configures the given Extension object using this build configuration.
Configures the given Extension object using this build configuration.
Configures the given Extension object using this build configuration .
def configure(self, ext) -> None:
        """Configures the given Extension object using this build configuration."""
        ext.include_dirs = exclude_from_list(
            self.include_dirs, self.excluded_include_dirs
        )
        ext.library_dirs = exclude_from_list(
            self.library_dirs, self.excluded_library_dirs
        )
        ext.runtime_library_dirs = self.runtime_library_dirs
        ext.libraries = self.libraries
        ext.extra_compile_args = self.extra_compile_args
        ext.extra_link_args = self.extra_link_args
        ext.extra_objects = self.extra_objects
        ext.define_macros = self.define_macros
def configure ( self , ext ) -> None : ext . include_dirs = exclude_from_list ( self . include_dirs , self . excluded_include_dirs ) ext . library_dirs = exclude_from_list ( self . library_dirs , self . excluded_library_dirs ) ext . runtime_library_dirs = self . runtime_library_dirs ext . libraries = self . libraries ext . extra_compile_args = self . extra_compile_args ext . extra_link_args = self . extra_link_args ext . extra_objects = self . extra_objects ext . define_macros = self . define_macros