Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
944 B

  1. set NTKEEPRESOURCETMPFILES=1
  2. cd ..\..\fontedit
  3. build -sz
  4. @copy obj\i386\fontedit.tmp ..\restools\tct\fontedit.res > nul 2>&1
  5. @copy obj\mips\fontedit.tmp ..\restools\tct\fontedit.res > nul 2>&1
  6. @copy obj\alpha\fontedit.tmp ..\restools\tct\fontedit.res > nul 2>&1
  7. @copy obj\i386\fontedit.exe ..\restools\tct\fontedit.exe > nul 2>&1
  8. @copy obj\mips\fontedit.exe ..\restools\tct\fontedit.exe > nul 2>&1
  9. @copy obj\alpha\fontedit.exe ..\restools\tct\fontedit.exe > nul 2>&1
  10. cd ..\restools\tct
  11. link32 -dump -headers fontedit.exe > before.hdr
  12. pause
  13. resonexe -d -v -fo fe.exe fontedit.res fontedit.exe
  14. link32 -dump -headers fe.exe > after.hdr
  15. rem
  16. rem diff should show addition of .rsrc section just before .debug section,
  17. rem change of initialized data size and image size,
  18. rem and addition of resource directory
  19. rem
  20. diff before.hdr after.hdr
  21. rem
  22. rem fe.exe should run, and should be about the same size as obj\*\fontedit.exe
  23. rem
  24. dir fe.exe fontedit.exe