File: svn_revision.bat

package info (click to toggle)
texstudio 2.12.14+debian-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster
  • size: 48,048 kB
  • sloc: cpp: 97,886; xml: 10,243; ansic: 8,127; sh: 158; makefile: 33
file content (6 lines) | stat: -rw-r--r-- 243 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
cd %0\.. 
@echo #define MK_STRING(x) #x > svn_revision.cpp
@echo const char * TEXSTUDIO_SVN_VERSION = MK_STRING(  >> svn_revision.cpp
call svnversion >> svn_revision.cpp
@echo ); >> svn_revision.cpp
%1 -c svn_revision.cpp -o %2/svn_revision.o