mirror of https://github.com/axmolengine/axmol.git
Compilation fix: Updates cocos_files.json and removes unused in template.
This commit is contained in:
parent
85ebb63e19
commit
f62c041886
|
@ -1,26 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Exit on error
|
||||
set -e
|
||||
|
||||
rm -rf ../bin
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
#make global libs
|
||||
cd ../cocos2d
|
||||
#install depend libs
|
||||
sudo ./build/install-deps-linux.sh
|
||||
mkdir -p linux-build
|
||||
cd linux-build
|
||||
cmake .. -DBUILD_LIBS_LUA=OFF -DBUILD_HelloCpp=OFF -DBUILD_TestCpp=OFF -DBUILD_HelloLua=OFF -DBUILD_TestLua=OFF
|
||||
make -j4
|
||||
|
||||
#make bin
|
||||
cd $DIR
|
||||
rm -rf bin
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake ../..
|
||||
make -j4
|
||||
cd ..
|
||||
mv ../bin bin
|
|
@ -1,27 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Exit on error
|
||||
set -e
|
||||
|
||||
rm -rf ../bin
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
#make global libs
|
||||
cd ../cocos2d
|
||||
#install depend libs
|
||||
sudo ./build/install-deps-linux.sh
|
||||
mkdir -p linux-build
|
||||
cd linux-build
|
||||
cmake .. -DBUILD_HelloCpp=OFF -DBUILD_TestCpp=OFF -DBUILD_HelloLua=OFF -DBUILD_TestLua=OFF
|
||||
make -j4
|
||||
|
||||
#make bin
|
||||
cd $DIR
|
||||
rm -rf bin
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake ../..
|
||||
make -j4
|
||||
cd ..
|
||||
mv ../bin bin
|
||||
cp ../cocos2d/cocos/scripting/lua/script/* bin/Resources
|
|
@ -1 +1 @@
|
|||
0a2d046187d7848172fadf6ee4a7e80897e6a75c
|
||||
5ae50c3f2080b46e18ba3f5aee4c5c686d54e13a
|
Loading…
Reference in New Issue