Cleaner/AMBuilder
Accelerator 14a8f04555
Some checks failed
build / build with sm${{ matrix.sm_version }} on ${{ matrix.os_short }} (master, latest) (push) Has been cancelled
build / build with sm${{ matrix.sm_version }} on ${{ matrix.os_short }} (ubuntu-22.04, oldlinux, 1.12-dev, 1.12) (push) Has been cancelled
build / build with sm${{ matrix.sm_version }} on ${{ matrix.os_short }} (ubuntu-22.04, oldlinux, master, latest) (push) Has been cancelled
build / build with sm${{ matrix.sm_version }} on ${{ matrix.os_short }} (ubuntu-latest, linux, 1.12-dev, 1.12) (push) Has been cancelled
build / build with sm${{ matrix.sm_version }} on ${{ matrix.os_short }} (ubuntu-latest, linux, master, latest) (push) Has been cancelled
build / build with sm${{ matrix.sm_version }} on ${{ matrix.os_short }} (windows-latest, win, 1.12-dev, 1.12) (push) Has been cancelled
build / build with sm${{ matrix.sm_version }} on ${{ matrix.os_short }} (windows-latest, win, master, latest) (push) Has been cancelled
build / Release (push) Has been cancelled
Using Manifests for build
2025-04-21 10:56:00 +03:00

23 lines
613 B
Python

# vim: set sts=2 ts=8 sw=2 tw=99 et ft=python:
import os
project = builder.LibraryProject('cleaner')
project.sources += [
'extension.cpp',
os.path.join(Extension.sm_root, 'public', 'smsdk_ext.cpp'),
]
for sdk_name in Extension.sdks:
sdk = Extension.sdks[sdk_name]
if sdk['name'] in ['mock']:
continue
for cxx in builder.targets:
if not cxx.target.arch in sdk['platforms'][cxx.target.platform]:
continue
binary = Extension.HL2ExtConfig(project, builder, cxx, 'cleaner.ext.' + sdk['extension'], sdk)
Extension.AddCDetour(binary)
Extension.extensions += builder.Add(project)