summary refs log tree commit diff stats
path: root/build/build-small.bat
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2011-08-11 08:11:10 +0200
committerBerke Viktor <berkeviktor@aol.com>2011-08-11 08:11:10 +0200
commit13288a8251629dee0a3ff11a958f4c4f29afcef0 (patch)
treee9832233db4ccb9a941c12e43f9d6b1fedd6a207 /build/build-small.bat
parent9a4907e28a1e446e9dff89c6612f18e32f20b3fb (diff)
automatically propagate version bump from config.h
Diffstat (limited to 'build/build-small.bat')
-rw-r--r--build/build-small.bat13
1 files changed, 8 insertions, 5 deletions
diff --git a/build/build-small.bat b/build/build-small.bat
index 65df12fa..ca9f74af 100644
--- a/build/build-small.bat
+++ b/build/build-small.bat
@@ -1,14 +1,17 @@
 @echo off
 set WDK_ROOT=c:\WinDDK\7600.16385.1
-cd ..
-set DEV_32=%cd%\dep-x86
-cd src
-echo DEV = %DEV_32% > makeinc.mak
-type makeinc.skel.mak >> makeinc.mak
 set INCLUDE=%WDK_ROOT%\inc\api;%WDK_ROOT%\inc\crt;%WDK_ROOT%\inc\api\crt\stl70
 set LIB=%WDK_ROOT%\lib\wxp\i386;%WDK_ROOT%\lib\Crt\i386
 set OPATH=%PATH%
+set DEV_32=%cd%\..\dep-x86
 set PATH=%PROGRAMFILES(X86)%\Microsoft Visual Studio 10.0\VC\bin;%PROGRAMFILES(X86)%\Microsoft Visual Studio 10.0\Common7\IDE;%PROGRAMFILES(X86)%\Microsoft SDKs\Windows\v7.0A\Bin;%DEV_32%\bin
+del version.exe
+cl /nologo version.c
+cd ..
+build\version -r > resource.h
+cd src
+echo DEV = %DEV_32% > makeinc.mak
+type makeinc.skel.mak >> makeinc.mak
 nmake /nologo /f makefile.mak clean
 cd pixmaps
 nmake /nologo /f makefile.mak