def render_body(self): ret = [] ret += ["## Library Target - Object"] ret += super().render_prefix() libcmd = cmd.add_library(self.Name, "OBJECT", self.get_fullsrcs()) ret += libcmd.render() ret += super().render_body() return ret
def render_body(self): ret = [] ret += ["## Library Target - Alias"] ret += super().render_prefix() libcmd = cmd.add_library(self.Name, "ALIAS " + self.Target, []) ret += libcmd.render() ret += super().render_body() return ret
def render_body(self): ret = [] ret += ["## Library Target - Imported"] ret += super().render_prefix() tmpopts = self.LibType.name + " IMPORTED" if self.GlobalImport: tmpopts += " GLOBAL" libcmd = cmd.add_library(self.Name, tmpopts, []) ret += libcmd.render() ret += super().render_body() return ret
def render_body(self): ret = [] ret += ["## Library Target - Normal"] ret += super().render_prefix() tmpopts = "" if self.LibType != LibTypes.DEFAULT: tmpopts += self.LibType.name + " " if self.ExludeFromAll: tmpopts += "EXCLUDE_FROM_ALL " libcmd = cmd.add_library(self.Name, tmpopts, self.get_fullsrcs()) ret += libcmd.render() ret += super().render_body() return ret
def render_body(self): ret = [] ret += ["## Library Target - Interface"] ret += super().render_prefix() tmpopts = "INTERFACE" if self.Imported: tmpopts += " IMPORTED" if self.GlobalImport: tmpopts += " GLOBAL" libcmd = cmd.add_library(self.Name, tmpopts, []) ret += libcmd.render() ret += super().render_body() return ret