Skip to content

Commit

Permalink
wscript: link sound format related libraries in XASH_DEDICATED build …
Browse files Browse the repository at this point in the history
…mode
  • Loading branch information
SNMetamorph committed Dec 1, 2024
1 parent 3daf6ee commit 03c43f3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@ SUBDIRS = [
Subproject('filesystem'),
Subproject('stub/server'),
Subproject('dllemu'),

Subproject('3rdparty/libogg'),
Subproject('3rdparty/vorbis/libvorbis'),
Subproject('3rdparty/vorbis/libvorbisfile'),
Subproject('3rdparty/opusfile'),

# disable only by engine feature, makes no sense to even parse subprojects in dedicated mode
Subproject('3rdparty/extras', lambda x: not x.env.DEDICATED and x.env.DEST_OS != 'android'),
Subproject('3rdparty/nanogl', lambda x: not x.env.DEDICATED and x.env.NANOGL),
Expand All @@ -96,18 +100,14 @@ SUBDIRS = [
Subproject('3rdparty/bzip2', lambda x: not x.env.DEDICATED and not x.env.HAVE_SYSTEM_BZ2),
Subproject('3rdparty/mainui', lambda x: not x.env.DEDICATED),
Subproject('3rdparty/vgui_support', lambda x: not x.env.DEDICATED),
Subproject('3rdparty/libogg', lambda x: not x.env.DEDICATED),
Subproject('3rdparty/vorbis/libvorbis', lambda x: not x.env.DEDICATED),
Subproject('3rdparty/vorbis/libvorbisfile', lambda x: not x.env.DEDICATED),
Subproject('3rdparty/opusfile', lambda x: not x.env.DEDICATED),
Subproject('3rdparty/MultiEmulator',lambda x: not x.env.DEDICATED),
# Subproject('3rdparty/freevgui', lambda x: not x.env.DEDICATED),
Subproject('stub/client', lambda x: not x.env.DEDICATED),
Subproject('game_launch', lambda x: not x.env.DISABLE_LAUNCHER),
Subproject('engine'), # keep latest for static linking

# disable only by external dependency presense
Subproject('3rdparty/opus', lambda x: not x.env.HAVE_SYSTEM_OPUS and not x.env.DEDICATED),
Subproject('3rdparty/opus', lambda x: not x.env.HAVE_SYSTEM_OPUS),

# enabled optionally
Subproject('utils/mdldec', lambda x: x.env.ENABLE_UTILS),
Expand Down

0 comments on commit 03c43f3

Please sign in to comment.