fake_includes.py 342 B

12345678910111213
  1. import os.path
  2. for cur_path, dirs, files in os.walk('.'):
  3. if cur_path == '.':
  4. for f in files:
  5. if f.endswith('.h'):
  6. print f
  7. fo = open(f, 'w')
  8. fo.write('#include "_fake_defines.h"\n')
  9. fo.write('#include "_fake_typedefs.h"\n')
  10. fo.close()