blob: e748861b07da54408c7a73d3c3e8e97742e353ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
@echo off
call "C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\vsvars32.bat"
:BuildAnsi
echo.
echo Preparing ANSI build...
echo.
if not exist ansi mkdir ansi
if not exist ansi\docs mkdir ansi\docs
del /q ansi\*.*
del /q ansi\docs\*.*
devenv /rebuild "Release" ..\historystats.sln
copy ..\release\historystats.dll ansi\
copy ..\docs\historystats_changelog.txt ansi\docs\
copy ..\docs\historystats_readme.txt ansi\docs\
copy ..\langpack\historystats_langpack_template.txt ansi\docs\
copy ..\include\m_historystats.h ansi\docs\
:BuildUnicode
echo.
echo Prepartin Unicode build...
echo.
if not exist unicode mkdir unicode
if not exist unicode\docs mkdir unicode\docs
del /q unicode\*.*
del /q unicode\docs\*.*
devenv /rebuild "Unicode Release" ..\historystats.sln
copy ..\releaseu\historystats.dll unicode\
copy ..\docs\historystats_changelog.txt unicode\docs\
copy ..\docs\historystats_readme.txt unicode\docs\
copy ..\langpack\historystats_langpack_template.txt unicode\docs\
copy ..\include\m_historystats.h unicode\docs\
echo.
echo Done.
echo.
pause > nul
|