示例#1
0
文件: build.py 项目: eriknelson/meson
 def __init__(self, name, subdir, is_cross, sources, objects, environment, kwargs):
     super().__init__(name, subdir, is_cross, sources, objects, environment, kwargs)
     self.prefix = ""
     self.suffix = environment.get_exe_suffix()
     suffix = environment.get_exe_suffix()
     if len(self.sources) > 0 and self.sources[0].endswith(".cs"):
         suffix = "exe"
     if suffix != "":
         self.filename = self.name + "." + suffix
     else:
         self.filename = self.name
示例#2
0
文件: build.py 项目: DragoonX6/meson
 def __init__(self, name, subdir, subproject, is_cross, sources, objects, environment, kwargs):
     super().__init__(name, subdir, subproject, is_cross, sources, objects, environment, kwargs)
     self.prefix = ''
     self.suffix = environment.get_exe_suffix()
     suffix = environment.get_exe_suffix()
     if len(self.sources) > 0 and self.sources[0].endswith('.cs'):
         suffix = 'exe'
     if suffix != '':
         self.filename = self.name + '.' + suffix
     else:
         self.filename = self.name
示例#3
0
 def __init__(self, name, subdir, subproject, is_cross, sources, objects, environment, kwargs):
     super().__init__(name, subdir, subproject, is_cross, sources, objects, environment, kwargs)
     self.prefix = ''
     self.suffix = environment.get_exe_suffix()
     suffix = environment.get_exe_suffix()
     if len(self.sources) > 0 and self.sources[0].endswith('.cs'):
         suffix = 'exe'
     if suffix != '':
         self.filename = self.name + '.' + suffix
     else:
         self.filename = self.name