diff options
Diffstat (limited to 'OPJViewer/buildupdate.bat')
| -rw-r--r-- | OPJViewer/buildupdate.bat | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/OPJViewer/buildupdate.bat b/OPJViewer/buildupdate.bat new file mode 100644 index 00000000..6ff0d42a --- /dev/null +++ b/OPJViewer/buildupdate.bat @@ -0,0 +1,15 @@ +::== buildupdate.bat
+@echo off
+setLocal EnableDelayedExpansion
+
+for /f "tokens=2,* delims=^(^) " %%a in ('find /v "" ^< .\source\build.h') do (
+rem echo %%a
+set /A M = %%a + 1
+echo Build !M!
+echo wxT^("!M!"^) > buildtemp283746825t347
+)
+
+if exist buildtemp283746825t347 move /Y buildtemp283746825t347 .\source\build.h
+if exist buildtemp283746825t347 del /F /Q buildtemp283746825t347
+
+::==
\ No newline at end of file |
