• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1@ECHO off
2
3"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere" -latest -property installationPath > vcpath.txt
4set /p vcpath=<vcpath.txt
5del vcpath.txt
6call "%vcpath%\VC\Auxiliary\Build\vcvarsall.bat" x86
7
8
9if not exist dist32 mkdir dist32
10if exist dist32\* del /q dist32\*
11
12
13cd ..\libmpdec
14copy /y Makefile.vc Makefile
15nmake clean
16nmake MACHINE=ppro profile
17
18copy /y "libmpdec-4.0.0.lib" ..\vcbuild\dist32
19copy /y "libmpdec-4.0.0.dll" ..\vcbuild\dist32
20copy /y "libmpdec-4.0.0.dll.lib" ..\vcbuild\dist32
21copy /y "libmpdec-4.0.0.dll.exp" ..\vcbuild\dist32
22copy /y "mpdecimal.h" ..\vcbuild\dist32
23
24
25cd ..\libmpdec++
26copy /y Makefile.vc Makefile
27nmake clean
28nmake
29
30copy /y "libmpdec++-4.0.0.lib" ..\vcbuild\dist32
31copy /y "libmpdec++-4.0.0.dll" ..\vcbuild\dist32
32copy /y "libmpdec++-4.0.0.dll.lib" ..\vcbuild\dist32
33copy /y "libmpdec++-4.0.0.dll.exp" ..\vcbuild\dist32
34copy /y "decimal.hh" ..\vcbuild\dist32
35
36
37cd ..\vcbuild
38
39
40
41