mpir/build.vc9/to_gmp.bat

35 lines
1017 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
2009-03-07 18:21:26 -05:00
2009-03-02 15:06:28 -05:00
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
2009-03-07 18:21:26 -05:00
cd ..\
if exist mpir.h (ren mpir.h gmp.h)
if exist mpirxx.h (ren mpirxx.h gmpxx.h)
cd build.vc9
2009-03-02 15:06:28 -05:00
exit /b 0
:sub
echo off
if not exist %1 exit /b 0
cd %1
if exist mpir.h (ren mpir.h gmp.h)
if exist mpir.dll (ren mpir.dll gmp.dll)
if exist mpir.lib (ren mpir.lib gmp.lib)
if exist mpir.pdb (ren mpir.pdb gmp.pdb)
if exist mpir.exp (ren mpir.exp gmp.exp)
if exist mpirxx.h (ren mpirxx.h gmpxx.h)
if exist mpirxx.lib (ren mpirxx.lib gmpxx.lib)
if exist mpirxx.pdb (ren mpirxx.pdb gmpxx.pdb)
cd ..
cd ..
cd ..
exit /b 0