mpir/build.vc9/to_mpir.bat

28 lines
899 B
Batchfile
Raw Normal View History

2009-03-02 15:06:28 -05:00
echo off
if exist lib\win32\release call :sub lib\win32\release
if exist lib\win32\debug call :sub lib\win32\debug
if exist lib\x64\release call :sub lib\x64\release
if exist lib\x64\debug call :sub lib\x64\debug
if exist dll\win32\release call :sub dll\win32\release
if exist dll\win32\debug call :sub dll\win32\debug
if exist dll\x64\release call :sub dll\x64\release
if exist dll\x64\debug call :sub dll\x64\debug
exit /b 0
:sub
echo off
if not exist %1 exit /b 0
cd %1
if exist gmp.h (ren gmp.h mpir.h)
if exist gmp.dll (ren gmp.dll mpir.dll)
if exist gmp.lib (ren gmp.lib mpir.lib)
if exist gmp.pdb (ren gmp.pdb mpir.pdb)
if exist gmp.exp (ren gmp.exp mpir.exp)
if exist gmpxx.h (ren gmpxx.h mpirxx.h)
if exist gmpxx.lib (ren gmpxx.lib mpirxx.lib)
if exist gmpxx.pdb (ren gmpxx.pdb mpirxx.pdb)
cd ..
cd ..
cd ..
exit /b 0