mirror of
https://github.com/asherkin/accelerator.git
synced 2025-12-06 18:08:30 +00:00
* overhaul the repository add protobuf change repo url try to restore github python syntax highlighter move breakpad into third_party, update packagescript * AMBuildifying remove unnecessary files Move the git patching into ambuild move lss to a patch Add windows compilation support remove breakpad.bat move postlink libs * Overhaul CI (#4) * Dockerbuild (#5) * make cwd_cmd spew stdout and stderr * add proper docker build support * Overhaul ci (#6) * Setup CI * fix checkout * fix yaml syntax * no fail fast * setup CI cache * Fix pip install * remove pip git * update actions, ditch node 16 * small syntax cleanups * more CI changes * github doc lied --------- Co-authored-by: Kenzzer <kenzzer@users.noreply.github.com> * final push for perfect dockerbuilds in every scenario that i have been able to find * rename cicd->dockerbuild --------- Co-authored-by: Kenzzer <kenzzer@users.noreply.github.com> * Add readme, remode duplicate -fPIC update names of dockerbuild folder in sh files * cleanup dockerfile (#7) * Update 0002-Write-FUNC-records-instead-of-PUBLIC-for-ELF-symbols.patch * Statically link libz, libgcc & libstdc++ * fix submodule path * Review change + comment patch --------- Co-authored-by: Kenzzer <kenzzer@users.noreply.github.com> Co-authored-by: Benoist <14257866+Kenzzer@users.noreply.github.com>
15 lines
920 B
Python
15 lines
920 B
Python
import sys
|
|
from ambuild2 import run
|
|
|
|
parser = run.BuildParser(sourcePath = sys.path[0], api='2.2')
|
|
parser.options.add_argument('--sm-path', type=str, dest='sm_path', default=None,
|
|
help='Path to SourceMod')
|
|
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('--disable-auto-versioning', action='store_false', dest='disable_auto_versioning',
|
|
default=True, help='Disables the auto versioning script')
|
|
parser.options.add_argument('--targets', type=str, dest='targets', default=None,
|
|
help="Override the target architecture (use commas to separate multiple targets).")
|
|
parser.Configure() |