1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-07-19 01:58:14 +08:00
Files
hl2sdk/configure.py

11 lines
596 B
Python
Raw Permalink Normal View History

2025-02-19 18:39:00 -05:00
import sys
from ambuild2 import run
parser = run.BuildParser(sourcePath = sys.path[0], api='2.2')
parser.options.add_argument('--enable-debug', action='store_const', const='1', dest='debug',
help='Enable debugging symbols')
parser.options.add_argument('--enable-optimize', action='store_const', const='1', dest='opt',
help='Enable optimization')
parser.options.add_argument('--targets', type=str, dest='targets', default=None,
help="Override the target architecture (use commas to separate multiple targets).")
parser.Configure()