mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2025-01-18 22:21:39 +00:00
aedi: remove yquake2 target
it requires dynamic sdl2 because executable and libraries depend on it [skip build]
This commit is contained in:
parent
e3e47ce0ea
commit
7efb436500
1 changed files with 0 additions and 19 deletions
|
@ -441,22 +441,3 @@ class QuakespasmTarget(MakeMainTarget):
|
|||
opts['USE_CODEC_UMX'] = '1'
|
||||
# Add main() alias to workaround executable linking without macOS launcher
|
||||
opts['COMMON_LIBS'] = '-framework OpenGL -Wl,-alias -Wl,_SDL_main -Wl,_main'
|
||||
|
||||
|
||||
class YQuake2Target(CMakeMainTarget):
|
||||
def __init__(self, name='yquake2'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.checkout_git('https://github.com/yquake2/yquake2.git')
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
state.options['SDL2_LIBRARY'] = state.run_pkg_config('--libs', 'SDL2')
|
||||
self._force_openal_soft(state)
|
||||
super().configure(state)
|
||||
|
||||
def post_build(self, state: BuildState):
|
||||
if state.xcode:
|
||||
return
|
||||
|
||||
shutil.copytree(state.build_path / 'release', state.install_path, dirs_exist_ok=True)
|
||||
|
|
Loading…
Reference in a new issue