hacker2490 | a42b524 | 2016-03-03 17:01:37 +0530 | [diff] [blame] | 1 | echo on |
| 2 | SetLocal EnableDelayedExpansion |
| 3 | |
| 4 | if [%Configuration%] NEQ [Debug] goto releasex64 |
| 5 | |
| 6 | :releasex64 |
| 7 | if [%Platform%] NEQ [x64] goto releaseWin32 |
| 8 | if [%Configuration%] NEQ [Release] exit 0 |
| 9 | C:\msys64\usr\bin\bash -e -l -c "mkdir build-x64" |
| 10 | C:\msys64\usr\bin\bash -e -l -c ./autogen.sh |
| 11 | C:\msys64\usr\bin\bash -e -l -c "cd build-x64" |
| 12 | C:\msys64\usr\bin\bash -e -l -c "build-x64/../configure --prefix=/mingw64 --build=--build= --host=x86_64-w64-mingw32" |
| 13 | C:\msys64\usr\bin\bash -e -l -c "make -j4" |
| 14 | C:\msys64\usr\bin\bash -e -l -c "make install" |
| 15 | |
| 16 | :releaseWin32 |
| 17 | if [%Platform%] NEQ [Win32] exit 0 |
| 18 | if [%Configuration%] NEQ [Release] exit 0 |
| 19 | C:\msys64\usr\bin\bash -e -l -c "mkdir build-Win32" |
| 20 | C:\msys64\usr\bin\bash -e -l -c ./autogen.sh |
| 21 | C:\msys64\usr\bin\bash -e -l -c "cd build-Win32" |
| 22 | C:\msys64\usr\bin\bash -e -l -c "build-Win32/../configure --prefix=/mingw32 --build=i686-w64-mingw32 --host=i686-w64-mingw32" |
| 23 | C:\msys64\usr\bin\bash -e -l -c "make -j4" |
| 24 | C:\msys64\usr\bin\bash -e -l -c "make install" |