AMBuilder 500 B

123456789101112131415161718192021222324252627
  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. proj_c_flags = [
  9. ]
  10. for sdk_name in MMS.sdks:
  11. for arch in MMS.archs:
  12. sdk = MMS.sdks[sdk_name]
  13. if not arch in sdk.platformSpec[builder.target.platform]:
  14. continue
  15. name = proj_name + '_mm'
  16. binary = MMS.HL2Library(builder, name, sdk, arch)
  17. binary.sources += proj_srcs
  18. nodes = builder.Add(binary)
  19. MMS.binaries += [nodes]