build script: add acc target

This commit is contained in:
alexey.lysiuk 2020-11-05 12:40:00 +02:00
parent 612fe41157
commit f11de9c041

View file

@ -39,6 +39,9 @@ class Target:
self.cmake_options = {} self.cmake_options = {}
self.post_build = None self.post_build = None
def configure(self, builder: 'Builder'):
pass
def _assign_common_linker_flags(self, builder: 'Builder'): def _assign_common_linker_flags(self, builder: 'Builder'):
extra_libs = ( extra_libs = (
'mpg123', 'mpg123',
@ -157,6 +160,13 @@ class ZandronumTarget(Target):
opts['FMOD_LIBRARY'] = builder.lib_path + 'libfmodex.dylib' opts['FMOD_LIBRARY'] = builder.lib_path + 'libfmodex.dylib'
class AccTarget(Target):
def __init__(self):
super().__init__()
self.name = 'acc'
self.url = 'https://github.com/rheit/acc.git'
class PrBoomPlusTarget(Target): class PrBoomPlusTarget(Target):
def __init__(self): def __init__(self):
super().__init__() super().__init__()
@ -471,6 +481,7 @@ class Builder(object):
LZDoomTarget(), LZDoomTarget(),
RazeTarget(), RazeTarget(),
ZandronumTarget(), ZandronumTarget(),
AccTarget(),
PrBoomPlusTarget(), PrBoomPlusTarget(),
ChocolateDoomTarget(), ChocolateDoomTarget(),
CrispyDoomTarget(), CrispyDoomTarget(),