mirror of
https://github.com/accelerator74/Cleaner.git
synced 2025-12-06 18:18:27 +00:00
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
23 lines
613 B
Python
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)
|