Created
October 17, 2012 14:54
-
-
Save iKlsR/3905958 to your computer and use it in GitHub Desktop.
my special build script for blender x64 with mingw64 having mingwx86(in path) and cygwin then compress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo INFO -- mingw64/bin added to path | |
set Path=C:\mingw64\bin;%PATH% | |
echo INFO -- navigating to cygwin/bin | |
cd ../../../cygwin/bin | |
echo INFO -- moving troublesome sh.exe to tmp dir | |
move sh.exe C:\Users\iKlsR | |
echo INFO -- navigating to C:/ | |
cd ../.. | |
echo INFO -- renaming troublesome mingw32.. | |
ren MinGW leave_me_alone | |
echo INFO -- navigating to svn/blender../win64/mingw | |
cd svn/blender/build/win64-mingw | |
cmake . ../../blender -G "MinGW Makefiles" -DWITH_MINGW64=ON | |
echo INFO -- building blender.. this might take a while.. | |
mingw32-make | |
echo INFO -- reconstructive building.. copying scripts, redist.. etc | |
make install | |
echo INFO -- navigating to temp dir | |
cd ../../../../Users/iKlsR | |
echo moving back sh.exe to cygwin/bin | |
move sh.exe C:/cygwin/bin | |
echo INFO -- navigating to C:/ | |
cd ../.. | |
echo INFO -- restoring troublesome mingw32.. | |
ren leave_me_alone MinGW | |
echo INFO -- build complete! check build for program. | |
echo INFO -- navigating to svn/blender../win64/mingw/bin | |
cd svn/blender/build/win64-mingw/bin | |
echo INFO -- compressing into portable archive | |
7z a -y r51373_x64_mingw64 2.64 BlendThumb.dll BlendThumb64.dll GPL-license.txt OpenAL32.dll Python-license.txt SDL.dll blender.exe copyright.txt libOpenColorIO.dll libgcc_s_sjlj-1.dll libstdc++-6.dll libwinpthread-1.dll python32.dll readme.html wrap_oal.dll | |
pause | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment