AMBuilder 480 B

123456789101112131415161718192021222324
  1. # vim: set sts=2 ts=8 sw=2 tw=99 et ft=python:
  2. import os, sys
  3. proj_name = 'tf2dynschema'
  4. proj_srcs = [
  5. 'mmsplugin.cpp',
  6. 'memscan.cpp',
  7. ]
  8. for sdk_name in MMS.sdks:
  9. for arch in MMS.archs:
  10. sdk = MMS.sdks[sdk_name]
  11. if not arch in sdk.platformSpec[builder.target.platform]:
  12. continue
  13. name = proj_name + '_mm'
  14. binary = MMS.HL2Library(builder, name, sdk, arch)
  15. binary.sources += proj_srcs
  16. nodes = builder.Add(binary)
  17. MMS.binaries += [nodes]