(self, t: build.Target, o: build.Target)
return os.path.relpath(target_dir, othert_dir)
Get a target dir relative to another target's directory
Get a target dir relative to another target's directory
Get a target dir relative to another target s directory
def get_target_dir_relative_to(self, t: build.Target, o: build.Target) -> str:
        '''Get a target dir relative to another target's directory'''
        target_dir = os.path.join(self.environment.get_build_dir(), self.get_target_dir(t))
        othert_dir = os.path.join(self.environment.get_build_dir(), self.get_target_dir(o))
        return os.path.relpath(target_dir, othert_dir)
def get_target_dir_relative_to ( self , t : build . Target , o : build . Target ) -> str : target_dir = os . path . join ( self . environment . get_build_dir ( ) , self . get_target_dir ( t ) ) othert_dir = os . path . join ( self . environment . get_build_dir ( ) , self . get_target_dir ( o ) ) return os . path . relpath ( target_dir , othert_dir )