2011-06-25 14:20:10 +08:00
|
|
|
pushd ../../
|
|
|
|
|
|
|
|
echo "generating libcocos2dx"
|
|
|
|
mkdir -p template/xcode4/lib_cocos2dx.xctemplate
|
2013-06-05 11:21:04 +08:00
|
|
|
python ./tools/xcode4_template_generator/template_generator.py --directory cocos2dx --identifier libcocos2dx --prefix libs --exclude "emscripten android win32 tizen nacl blackberry linux marmalade CCGLBufferedNode.h CCGLBufferedNode.cpp CCImage.cpp CCThread.cpp proj.emscripten proj.ios CCImageCommon_cpp.h Android.mk mac CCUserDefault.cpp CCUserDefaultAndroid.cpp" > ./template/xcode4/lib_cocos2dx.xctemplate/TemplateInfo.plist
|
2011-06-25 14:20:10 +08:00
|
|
|
|
|
|
|
echo "generating libcocosdenshion"
|
|
|
|
mkdir -p template/xcode4/lib_cocosdenshion.xctemplate
|
2013-06-05 11:21:04 +08:00
|
|
|
python ./tools/xcode4_template_generator/template_generator.py --directory CocosDenshion --identifier libcocosdenshion --prefix libs --exclude "emscripten android win32 tizen blackberry linux marmalade proj.emscripten proj.android proj.win32 proj.nacl proj.blackberry proj.linux proj.marmalade third_party Android.mk mac" > ./template/xcode4/lib_cocosdenshion.xctemplate/TemplateInfo.plist
|
2011-06-25 14:20:10 +08:00
|
|
|
|
|
|
|
echo "generating libbox2d"
|
|
|
|
mkdir -p template/xcode4/lib_box2d.xctemplate
|
2012-07-23 17:10:56 +08:00
|
|
|
pushd external
|
2013-06-05 11:21:04 +08:00
|
|
|
python ../tools/xcode4_template_generator/template_generator.py --directory Box2D --identifier libbox2d --prefix libs --append ../tools/xcode4_template_generator/template_box2d_patch.txt --exclude "proj.emscripten proj.android proj.win32 proj.nacl proj.blackberry proj.linux proj.marmalade proj.tizen Android.mk" > ../template/xcode4/lib_box2d.xctemplate/TemplateInfo.plist
|
2012-07-23 17:10:56 +08:00
|
|
|
popd
|
2011-06-25 14:20:10 +08:00
|
|
|
|
|
|
|
echo "generating libchipmunk"
|
|
|
|
mkdir -p template/xcode4/lib_chipmunk.xctemplate
|
2012-07-23 17:10:56 +08:00
|
|
|
pushd external
|
2013-06-05 11:21:04 +08:00
|
|
|
python ../tools/xcode4_template_generator/template_generator.py --directory chipmunk --identifier libchipmunk --prefix libs --exclude "proj.emscripten proj.android proj.nacl proj.win32 proj.blackberry proj.linux proj.marmalade proj.tizen Android.mk CMakeFiles Makefile" > ../template/xcode4/lib_chipmunk.xctemplate/TemplateInfo.plist
|
2012-07-23 17:10:56 +08:00
|
|
|
popd
|
2011-06-25 14:20:10 +08:00
|
|
|
|
|
|
|
echo "generating liblua"
|
|
|
|
mkdir -p template/xcode4/lib_lua.xctemplate
|
2012-07-23 17:10:56 +08:00
|
|
|
pushd scripting
|
2013-06-05 11:21:04 +08:00
|
|
|
python ../tools/xcode4_template_generator/template_generator.py --directory lua --identifier liblua --prefix libs --append ../tools/xcode4_template_generator/template_lua_patch.txt --exclude "lua/lua/ Android.mk android build_android.sh build_ios.sh build_mac.sh LuaJIT-2.0.1 win32 proj.emscripten proj.android proj.win32 proj.tizen proj.blackberry proj.linux proj.nacl proj.marmalade Makefile CMakeFiles" > ../template/xcode4/lib_lua.xctemplate/TemplateInfo.plist
|
2012-07-23 17:10:56 +08:00
|
|
|
popd
|
|
|
|
|
2012-08-28 12:06:44 +08:00
|
|
|
|
|
|
|
echo "generating libjs"
|
|
|
|
mkdir -p template/xcode4/lib_js.xctemplate
|
|
|
|
pushd scripting
|
2013-06-05 11:21:04 +08:00
|
|
|
python ../tools/xcode4_template_generator/template_generator.py --directory javascript/bindings --identifier libjs --prefix libs --append ../tools/xcode4_template_generator/template_js_patch.txt --exclude "Android.mk helper.js sample.js proj.win32" > ../template/xcode4/lib_js.xctemplate/TemplateInfo.plist
|
2012-08-28 12:06:44 +08:00
|
|
|
popd
|
|
|
|
|
|
|
|
echo "generating libspidermonkey"
|
|
|
|
mkdir -p template/xcode4/lib_spidermonkey.xctemplate
|
|
|
|
pushd scripting
|
|
|
|
python ../tools/xcode4_template_generator/template_generator.py --directory javascript/spidermonkey-ios --identifier libspidermonkey --exclude "bin host" --prefix libs > ../template/xcode4/lib_spidermonkey.xctemplate/TemplateInfo.plist
|
|
|
|
popd
|
|
|
|
|
2013-06-05 11:21:04 +08:00
|
|
|
echo "generating libwebsockets"
|
|
|
|
mkdir -p template/xcode4/lib_websockets.xctemplate
|
|
|
|
pushd external
|
|
|
|
python ../tools/xcode4_template_generator/template_generator.py --directory libwebsockets/ios --identifier libwebsockets --prefix libs > ../template/xcode4/lib_websockets.xctemplate/TemplateInfo.plist
|
|
|
|
popd
|
|
|
|
|
2012-08-28 12:06:44 +08:00
|
|
|
|
2012-07-23 17:10:56 +08:00
|
|
|
echo "generating libextensions"
|
2013-06-17 15:54:12 +08:00
|
|
|
python ./tools/xcode4_template_generator/template_generator.py --directory extensions --identifier libextensions --prefix libs --exclude "proj.tizen proj.emscripten proj.marmalade proj.win32 proj.nacl proj.blackberry proj.linux Android.mk CCEditBoxImplAndroid.cpp CCEditBoxImplAndroid.h CCArmature" > ./template/xcode4/lib_extensions.xctemplate/TemplateInfo.plist
|
2011-06-25 14:20:10 +08:00
|
|
|
|
|
|
|
echo "done"
|
|
|
|
|
2012-02-02 19:14:01 +08:00
|
|
|
popd
|