2011-06-25 14:20:10 +08:00
|
|
|
pushd ../../
|
|
|
|
|
|
|
|
echo "generating libcocos2dx"
|
|
|
|
mkdir -p template/xcode4/lib_cocos2dx.xctemplate
|
2012-07-23 17:10:56 +08:00
|
|
|
python ./tools/xcode4_template_generator/template_generator.py --directory cocos2dx --identifier libcocos2dx --prefix libs --exclude "android win32 third_party CCImage.cpp CCThread.cpp proj.ios CCFileUtilsCommon_cpp.h CCImageCommon_cpp.h CCFileUtils.cpp Android.mk mac" > ./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
|
2012-07-23 17:10:56 +08:00
|
|
|
python ./tools/xcode4_template_generator/template_generator.py --directory CocosDenshion --identifier libcocosdenshion --prefix libs --exclude "android win32 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
|
|
|
|
python ../tools/xcode4_template_generator/template_generator.py --directory Box2D --identifier libbox2d --prefix libs --exclude "android win32 Android.mk" > ../template/xcode4/lib_box2d.xctemplate/TemplateInfo.plist
|
|
|
|
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
|
|
|
|
python ../tools/xcode4_template_generator/template_generator.py --directory chipmunk --identifier libchipmunk --prefix libs --exclude "android win32 Android.mk CMakeFiles Makefile" > ../template/xcode4/lib_chipmunk.xctemplate/TemplateInfo.plist
|
|
|
|
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
|
|
|
|
python ../tools/xcode4_template_generator/template_generator.py --directory lua --identifier liblua --prefix libs --append ../tools/xcode4_template_generator/template_lua_patch.txt --exclude "android win32 Makefile CMakeFiles" > ../template/xcode4/lib_lua.xctemplate/TemplateInfo.plist
|
|
|
|
popd
|
|
|
|
|
|
|
|
echo "generating libextensions"
|
|
|
|
python ./tools/xcode4_template_generator/template_generator.py --directory extensions --identifier libextensions --prefix libs --exclude "proj.win32 Android.mk" > ./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
|