Skip to content

Commit

Permalink
wscript: add configuration option for building xar
Browse files Browse the repository at this point in the history
  • Loading branch information
a1batross committed Jul 21, 2024
1 parent 9165832 commit d4a2011
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion wscript
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ SUBDIRS = [

# enabled optionally
Subproject('utils/mdldec', lambda x: x.env.ENABLE_UTILS),
# Subproject('utils/xar', lambda x: x.env.ENABLE_UTILS),
Subproject('utils/xar', lambda x: x.env.ENABLE_UTILS and x.env.ENABLE_XAR),
Subproject('utils/run-fuzzer', lambda x: x.env.ENABLE_FUZZER),

# enabled on PSVita only
Expand Down Expand Up @@ -155,6 +155,9 @@ def options(opt):
grp.add_option('--enable-utils', action = 'store_true', dest = 'ENABLE_UTILS', default = False,
help = 'enable building various development utilities [default: %(default)s]')

grp.add_option('--enable-xar', action = 'store_true', dest = 'ENABLE_XAR', default = False,
help = 'enable building Xash ARchiver (experimental) [default: %(default)s]')

grp.add_option('--enable-fuzzer', action = 'store_true', dest = 'ENABLE_FUZZER', default = False,
help = 'enable building libFuzzer runner [default: %(default)s]' )

Expand Down

0 comments on commit d4a2011

Please sign in to comment.