選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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