Update make_snapshop.sh [2]
This commit is contained in:
parent
28786a3570
commit
8562d38ca4
|
@ -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 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 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
|
||||
|
|
Loading…
Reference in New Issue