mpir/build.vc9/to_mpir.bat
2009-03-07 23:21:26 +00:00

34 lines
1005 B
Batchfile

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
cd ..\
if exist gmp.h (ren gmp.h mpir.h)
if exist gmpxx.h (ren gmpxx.h mpirxx.h)
cd build.vc9
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