From 8562d38ca422ae908b89e800b781d52598432350 Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Wed, 13 Nov 2013 15:09:33 -0200 Subject: [PATCH] Update make_snapshop.sh [2] --- tools/make_snapshot.sh | 76 +++++++++++++++++++++--------------------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/tools/make_snapshot.sh b/tools/make_snapshot.sh index ef64a1c3..e12b0300 100755 --- a/tools/make_snapshot.sh +++ b/tools/make_snapshot.sh @@ -86,37 +86,37 @@ fi make -j$makejobs || exit cd .. -# compile for win64dx9 -mkdir -p build.win64dx9 -cd build.win64dx9 -if $rebuild; then - x86_64-w64-mingw32-cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -DBOT_PROTECTION=OFF \ - -DOPENGLES=2.0 \ - -DBUILD_REVISION=$revision \ - -DBUILD_COMMIT=$commit \ - -DEXTRA_LIBS="$WIN32_EXTRA_LIBS" \ - .. || exit -fi -make -j$makejobs || exit -cd .. - -# compile for win32dx9 -mkdir -p build.win32dx9 -cd build.win32dx9 -if $rebuild; then - i686-w64-mingw32-cmake \ - -DCMAKE_BUILD_TYPE=Release \ - -DBOT_PROTECTION=OFF \ - -DOPENGLES=2.0 \ - -DBUILD_REVISION=$revision \ - -DBUILD_COMMIT=$commit \ - -DEXTRA_LIBS="$WIN32_EXTRA_LIBS" \ - .. || exit -fi -make -j$makejobs || exit -cd .. +## compile for win64dx9 +#mkdir -p build.win64dx9 +#cd build.win64dx9 +#if $rebuild; then + #x86_64-w64-mingw32-cmake \ + #-DCMAKE_BUILD_TYPE=Release \ + #-DBOT_PROTECTION=OFF \ + #-DOPENGLES=2.0 \ + #-DBUILD_REVISION=$revision \ + #-DBUILD_COMMIT=$commit \ + #-DEXTRA_LIBS="$WIN32_EXTRA_LIBS" \ + #.. || exit +#fi +#make -j$makejobs || exit +#cd .. + +## compile for win32dx9 +#mkdir -p build.win32dx9 +#cd build.win32dx9 +#if $rebuild; then + #i686-w64-mingw32-cmake \ + #-DCMAKE_BUILD_TYPE=Release \ + #-DBOT_PROTECTION=OFF \ + #-DOPENGLES=2.0 \ + #-DBUILD_REVISION=$revision \ + #-DBUILD_COMMIT=$commit \ + #-DEXTRA_LIBS="$WIN32_EXTRA_LIBS" \ + #.. || exit +#fi +#make -j$makejobs || exit +#cd .. # compile for linux64 mkdir -p build.linux64 @@ -215,15 +215,15 @@ mkdir mods cp $workdir/otclient/mods/README.txt mods/ cp -R $workdir/otclient/modules . cp -R $workdir/otclient/data . -cp $mingwbin/libEGL.dll . -cp $mingwbin/libGLESv2.dll . -cp $mingwbin/d3dcompiler_43.dll . -cp $mingwbin/d3dx9_43.dll . -cp $mingwbin/wrap_oal.dll . +#cp $mingwbin/libEGL.dll . +#cp $mingwbin/libGLESv2.dll . +#cp $mingwbin/d3dcompiler_43.dll . +#cp $mingwbin/d3dx9_43.dll . +#cp $mingwbin/wrap_oal.dll . cp $workdir/otclient/build.win32/otclient.exe otclient-32.exe -cp $workdir/otclient/build.win32dx9/otclient.exe otclient_dx9-32.exe cp $workdir/otclient/build.win64/otclient.exe otclient-64.exe -cp $workdir/otclient/build.winw64dx9/otclient.exe otclient_dx9-64.exe +#cp $workdir/otclient/build.win32dx9/otclient.exe otclient_dx9-32.exe +#cp $workdir/otclient/build.winw64dx9/otclient.exe otclient_dx9-64.exe cp $workdir/otclient/init.lua . cp $workdir/otclient/otclientrc.lua . cp $workdir/otclient/AUTHORS AUTHORS.txt