File: pgobuild32.bat

package info (click to toggle)
mpdecimal 4.0.1-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,236 kB
  • sloc: ansic: 17,917; cpp: 6,508; sh: 4,236; makefile: 621; lisp: 502; python: 85; asm: 18
file content (40 lines) | stat: -rwxr-xr-x 977 bytes parent folder | download | duplicates (2)
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
39
40
@ECHO off

"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere" -latest -property installationPath > vcpath.txt
set /p vcpath=<vcpath.txt
del vcpath.txt
call "%vcpath%\VC\Auxiliary\Build\vcvarsall.bat" x86


if not exist dist32 mkdir dist32
if exist dist32\* del /q dist32\*


cd ..\libmpdec
copy /y Makefile.vc Makefile
nmake clean
nmake MACHINE=ppro profile

copy /y "libmpdec-4.0.1.lib" ..\vcbuild\dist32
copy /y "libmpdec-4.0.1.dll" ..\vcbuild\dist32
copy /y "libmpdec-4.0.1.dll.lib" ..\vcbuild\dist32
copy /y "libmpdec-4.0.1.dll.exp" ..\vcbuild\dist32
copy /y "mpdecimal.h" ..\vcbuild\dist32


cd ..\libmpdec++
copy /y Makefile.vc Makefile
nmake clean
nmake

copy /y "libmpdec++-4.0.1.lib" ..\vcbuild\dist32
copy /y "libmpdec++-4.0.1.dll" ..\vcbuild\dist32
copy /y "libmpdec++-4.0.1.dll.lib" ..\vcbuild\dist32
copy /y "libmpdec++-4.0.1.dll.exp" ..\vcbuild\dist32
copy /y "decimal.hh" ..\vcbuild\dist32


cd ..\vcbuild