(
            self, target: T.Union[build.BuildTarget, build.CustomTarget, programs.ExternalProgram, mesonlib.File, str],
            extra_bdeps: T.Sequence[T.Union[build.BuildTarget, build.CustomTarget]])
return list(result)
On Windows there is no such thing as an rpath.

        We must determine all locations of DLLs that this exe
        links to and return them so they can be used in unit
        tests.
On Windows there is no such thing as an rpath.
On Windows there is no such thing as an rpath .
def determine_windows_extra_paths(
            self, target: T.Union[build.BuildTarget, build.CustomTarget, programs.ExternalProgram, mesonlib.File, str],
            extra_bdeps: T.Sequence[T.Union[build.BuildTarget, build.CustomTarget]]) -> T.List[str]:
        """On Windows there is no such thing as an rpath.

        We must determine all locations of DLLs that this exe
        links to and return them so they can be used in unit
        tests.
        """
        result: T.Set[str] = set()
        prospectives: T.Set[build.Target] = set()
        if isinstance(target, build.BuildTarget):
            prospectives.update(target.get_transitive_link_deps())
            # External deps
            for deppath in self.rpaths_for_non_system_absolute_shared_libraries(target, exclude_system=False):
                result.add(os.path.normpath(os.path.join(self.environment.get_build_dir(), deppath)))
        for bdep in extra_bdeps:
            prospectives.add(bdep)
            if isinstance(bdep, build.BuildTarget):
                prospectives.update(bdep.get_transitive_link_deps())
        # Internal deps
        for ld in prospectives:
            dirseg = os.path.join(self.environment.get_build_dir(), self.get_target_dir(ld))
            result.add(dirseg)
        if (isinstance(target, build.BuildTarget) and
                not self.environment.machines.matches_build_machine(target.for_machine)):
            result.update(self.get_mingw_extra_paths(target))
        return list(result)
def determine_windows_extra_paths ( self , target : T . Union [ build . BuildTarget , build . CustomTarget , programs . ExternalProgram , mesonlib . File , str ] , extra_bdeps : T . Sequence [ T . Union [ build . BuildTarget , build . CustomTarget ] ] ) -> T . List [ str ] : result : T . Set [ str ] = set ( ) prospectives : T . Set [ build . Target ] = set ( ) if isinstance ( target , build . BuildTarget ) : prospectives . update ( target . get_transitive_link_deps ( ) ) # External deps for deppath in self . rpaths_for_non_system_absolute_shared_libraries ( target , exclude_system = False ) : result . add ( os . path . normpath ( os . path . join ( self . environment . get_build_dir ( ) , deppath ) ) ) for bdep in extra_bdeps : prospectives . add ( bdep ) if isinstance ( bdep , build . BuildTarget ) : prospectives . update ( bdep . get_transitive_link_deps ( ) ) # Internal deps for ld in prospectives : dirseg = os . path . join ( self . environment . get_build_dir ( ) , self . get_target_dir ( ld ) ) result . add ( dirseg ) if ( isinstance ( target , build . BuildTarget ) and not self . environment . machines . matches_build_machine ( target . for_machine ) ) : result . update ( self . get_mingw_extra_paths ( target ) ) return list ( result )