No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

123456789101112131415161718192021222324252627
  1. @echo off
  2. rem -----------------------------------------------------
  3. rem Tiny batch script to build the input file revision.h
  4. rem revision.h contains the revision number of the wc.
  5. rem It is included by assimp.rc.
  6. rem -----------------------------------------------------
  7. rem This is not very elegant, but it works.
  8. rem ./bin shouldn't have any local modifications
  9. svnversion > tmpfile.txt
  10. set /p addtext= < tmpfile.txt
  11. del /q tmpfile.txt
  12. echo #define SVNRevision > tmpfile.txt
  13. if exist ..\..\revision.h del /q ..\..\revision.h
  14. for /f "delims=" %%l in (tmpfile.txt) Do (
  15. for /f "delims=M:" %%r in ("%addtext%") Do (
  16. echo %%l %%r >> ..\..\revision.h
  17. )
  18. )
  19. del /q tmpfile.txt