AMBuilder 522 B

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