2014-05-04 14:37:55 +08:00
|
|
|
{
|
|
|
|
"do_default": {
|
|
|
|
"exclude_from_template": [
|
2014-05-13 15:06:56 +08:00
|
|
|
"frameworks/runtime-src",
|
|
|
|
"runtime/config.json",
|
|
|
|
"runtime/version.json"
|
2014-05-04 14:37:55 +08:00
|
|
|
],
|
2014-05-09 14:06:20 +08:00
|
|
|
"project_replace_project_name": {
|
|
|
|
"src_project_name": "HelloLua",
|
|
|
|
"files": [
|
2014-05-16 11:57:03 +08:00
|
|
|
"config.json",
|
2014-06-18 17:06:56 +08:00
|
|
|
".project"
|
2014-05-20 10:47:27 +08:00
|
|
|
]
|
2014-05-09 14:06:20 +08:00
|
|
|
},
|
2014-05-04 14:37:55 +08:00
|
|
|
"append_dir": [
|
|
|
|
{
|
2014-08-13 14:29:14 +08:00
|
|
|
"from": "cocos/scripting/lua-bindings/script/cocos2d",
|
2014-05-04 14:37:55 +08:00
|
|
|
"to": "runtime/mac/PrebuiltRuntimeLua.app/Contents/Resources",
|
|
|
|
"exclude": []
|
|
|
|
},
|
|
|
|
{
|
2014-08-13 14:29:14 +08:00
|
|
|
"from": "cocos/scripting/lua-bindings/script/cocos2d",
|
2014-05-04 14:37:55 +08:00
|
|
|
"to": "runtime/ios/PrebuiltRuntimeLua.app",
|
|
|
|
"exclude": []
|
|
|
|
},
|
|
|
|
{
|
2014-08-13 14:29:14 +08:00
|
|
|
"from": "cocos/scripting/lua-bindings/script/cocos2d",
|
|
|
|
"to": "runtime/win32",
|
|
|
|
"exclude": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "cocos/scripting/lua-bindings/script/cocosdenshion",
|
|
|
|
"to": "runtime/mac/PrebuiltRuntimeLua.app/Contents/Resources",
|
|
|
|
"exclude": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "cocos/scripting/lua-bindings/script/cocosdenshion",
|
|
|
|
"to": "runtime/ios/PrebuiltRuntimeLua.app",
|
|
|
|
"exclude": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "cocos/scripting/lua-bindings/script/cocosdenshion",
|
2014-05-04 14:37:55 +08:00
|
|
|
"to": "runtime/win32",
|
|
|
|
"exclude": []
|
|
|
|
},
|
2014-08-14 00:06:28 +08:00
|
|
|
{
|
|
|
|
"from": "cocos/scripting/lua-bindings/script/network",
|
|
|
|
"to": "runtime/mac/PrebuiltRuntimeLua.app/Contents/Resources",
|
|
|
|
"exclude": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "cocos/scripting/lua-bindings/script/network",
|
|
|
|
"to": "runtime/ios/PrebuiltRuntimeLua.app",
|
|
|
|
"exclude": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "cocos/scripting/lua-bindings/script/network",
|
|
|
|
"to": "runtime/win32",
|
|
|
|
"exclude": []
|
|
|
|
},
|
2014-05-04 14:37:55 +08:00
|
|
|
{
|
|
|
|
"from": "external/lua/luasocket",
|
|
|
|
"to": "runtime/mac/PrebuiltRuntimeLua.app/Contents/Resources",
|
|
|
|
"include": [
|
|
|
|
"*.lua"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "external/lua/luasocket",
|
|
|
|
"to": "runtime/ios/PrebuiltRuntimeLua.app",
|
|
|
|
"include": [
|
|
|
|
"*.lua"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "external/lua/luasocket",
|
|
|
|
"to": "runtime/win32",
|
|
|
|
"include": [
|
|
|
|
"*.lua"
|
|
|
|
]
|
|
|
|
},
|
2014-08-14 21:27:02 +08:00
|
|
|
{
|
|
|
|
"from": "cocos/scripting/lua-bindings/script/cocosbuilder",
|
|
|
|
"to": "runtime/mac/PrebuiltRuntimeLua.app/Contents/Resources",
|
|
|
|
"exclude": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "cocos/scripting/lua-bindings/script/cocosbuilder",
|
|
|
|
"to": "runtime/ios/PrebuiltRuntimeLua.app",
|
|
|
|
"exclude": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "cocos/scripting/lua-bindings/script/cocosbuilder",
|
|
|
|
"to": "runtime/win32",
|
|
|
|
"exclude": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "cocos/scripting/lua-bindings/script/cocostudio",
|
|
|
|
"to": "runtime/mac/PrebuiltRuntimeLua.app/Contents/Resources",
|
|
|
|
"exclude": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "cocos/scripting/lua-bindings/script/cocostudio",
|
|
|
|
"to": "runtime/ios/PrebuiltRuntimeLua.app",
|
|
|
|
"exclude": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "cocos/scripting/lua-bindings/script/cocostudio",
|
|
|
|
"to": "runtime/win32",
|
|
|
|
"exclude": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "cocos/scripting/lua-bindings/script/extension",
|
|
|
|
"to": "runtime/mac/PrebuiltRuntimeLua.app/Contents/Resources",
|
|
|
|
"exclude": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "cocos/scripting/lua-bindings/script/extension",
|
|
|
|
"to": "runtime/ios/PrebuiltRuntimeLua.app",
|
|
|
|
"exclude": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "cocos/scripting/lua-bindings/script/extension",
|
|
|
|
"to": "runtime/win32",
|
|
|
|
"exclude": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "cocos/scripting/lua-bindings/script/network",
|
|
|
|
"to": "runtime/mac/PrebuiltRuntimeLua.app/Contents/Resources",
|
|
|
|
"exclude": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "cocos/scripting/lua-bindings/script/network",
|
|
|
|
"to": "runtime/ios/PrebuiltRuntimeLua.app",
|
|
|
|
"exclude": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "cocos/scripting/lua-bindings/script/network",
|
|
|
|
"to": "runtime/win32",
|
|
|
|
"exclude": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "cocos/scripting/lua-bindings/script/ui",
|
|
|
|
"to": "runtime/mac/PrebuiltRuntimeLua.app/Contents/Resources",
|
|
|
|
"exclude": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "cocos/scripting/lua-bindings/script/ui",
|
|
|
|
"to": "runtime/ios/PrebuiltRuntimeLua.app",
|
|
|
|
"exclude": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "cocos/scripting/lua-bindings/script/ui",
|
|
|
|
"to": "runtime/win32",
|
|
|
|
"exclude": []
|
|
|
|
},
|
2014-05-04 14:37:55 +08:00
|
|
|
{
|
|
|
|
"from": "external/win32-specific/gles/prebuilt",
|
|
|
|
"to": "runtime/win32",
|
|
|
|
"include": [
|
|
|
|
"*.dll"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "external/win32-specific/zlib/prebuilt",
|
|
|
|
"to": "runtime/win32",
|
|
|
|
"include": [
|
|
|
|
"*.dll"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "external/win32-specific/icon/prebuilt",
|
|
|
|
"to": "runtime/win32",
|
|
|
|
"include": [
|
|
|
|
"*.dll"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "external/curl/prebuilt/win32",
|
|
|
|
"to": "runtime/win32",
|
|
|
|
"include": [
|
|
|
|
"*.dll"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "external/lua/luajit/prebuilt/win32",
|
|
|
|
"to": "runtime/win32",
|
|
|
|
"include": [
|
|
|
|
"*.dll"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "external/websockets/prebuilt/win32",
|
|
|
|
"to": "runtime/win32",
|
|
|
|
"include": [
|
|
|
|
"*.dll"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"from": "external/tiff/prebuilt/win32",
|
|
|
|
"to": "runtime/win32",
|
|
|
|
"include": [
|
|
|
|
"*.dll"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"do_add_native_support": {
|
|
|
|
"append_from_template": {
|
|
|
|
"from": "frameworks/runtime-src",
|
|
|
|
"to": "frameworks/runtime-src",
|
|
|
|
"exclude": [
|
2014-06-18 17:06:56 +08:00
|
|
|
"proj.android/bin",
|
|
|
|
"proj.android/assets",
|
2014-05-04 14:37:55 +08:00
|
|
|
"proj.ios_mac/HelloLua.xcodeproj/project.xcworkspace",
|
|
|
|
"proj.ios_mac/HelloLua.xcodeproj/xcuserdata",
|
|
|
|
"proj.win32/Debug.win32",
|
|
|
|
"proj.win32/Release.win32",
|
|
|
|
"proj.win32/HelloLua.sdf"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"append_x_engine": {
|
|
|
|
"from": ".",
|
|
|
|
"to": "frameworks/cocos2d-x"
|
|
|
|
},
|
|
|
|
"project_rename": {
|
|
|
|
"src_project_name": "HelloLua",
|
|
|
|
"files": [
|
|
|
|
"frameworks/runtime-src/proj.win32/PROJECT_NAME.vcxproj",
|
|
|
|
"frameworks/runtime-src/proj.win32/PROJECT_NAME.vcxproj.filters",
|
|
|
|
"frameworks/runtime-src/proj.win32/PROJECT_NAME.vcxproj.user",
|
|
|
|
"frameworks/runtime-src/proj.win32/PROJECT_NAME.sln",
|
|
|
|
"frameworks/runtime-src/proj.ios_mac/PROJECT_NAME.xcodeproj"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"project_replace_project_name": {
|
|
|
|
"src_project_name": "HelloLua",
|
|
|
|
"files": [
|
2014-05-15 11:34:17 +08:00
|
|
|
"config.json",
|
2014-05-06 17:03:40 +08:00
|
|
|
".project",
|
2014-05-04 14:37:55 +08:00
|
|
|
"frameworks/runtime-src/proj.win32/PROJECT_NAME.vcxproj",
|
|
|
|
"frameworks/runtime-src/proj.win32/PROJECT_NAME.vcxproj.filters",
|
|
|
|
"frameworks/runtime-src/proj.win32/PROJECT_NAME.vcxproj.user",
|
|
|
|
"frameworks/runtime-src/proj.win32/PROJECT_NAME.sln",
|
|
|
|
"frameworks/runtime-src/proj.win32/main.cpp",
|
|
|
|
"frameworks/runtime-src/proj.win32/Runtime_win32.cpp",
|
2014-06-18 17:06:56 +08:00
|
|
|
"frameworks/runtime-src/proj.android/.project",
|
|
|
|
"frameworks/runtime-src/proj.android/AndroidManifest.xml",
|
|
|
|
"frameworks/runtime-src/proj.android/build.xml",
|
|
|
|
"frameworks/runtime-src/proj.android/res/values/strings.xml",
|
2014-05-04 14:37:55 +08:00
|
|
|
"frameworks/runtime-src/proj.ios_mac/ios/main.m",
|
|
|
|
"frameworks/runtime-src/proj.ios_mac/ios/Prefix.pch",
|
|
|
|
"frameworks/runtime-src/proj.ios_mac/mac/SimulatorApp.mm",
|
|
|
|
"frameworks/runtime-src/proj.ios_mac/PROJECT_NAME.xcodeproj/project.pbxproj",
|
2014-05-05 21:18:33 +08:00
|
|
|
"frameworks/runtime-src/Classes/AppDelegate.cpp",
|
|
|
|
"frameworks/runtime-src/Classes/ConfigParser.cpp"
|
2014-05-04 14:37:55 +08:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"project_replace_package_name": {
|
|
|
|
"src_package_name": "org.cocos2dx.hellolua",
|
|
|
|
"files": [
|
|
|
|
"frameworks/runtime-src/proj.android/AndroidManifest.xml"
|
|
|
|
]
|
2014-07-08 10:22:08 +08:00
|
|
|
},
|
|
|
|
"project_replace_mac_bundleid": {
|
|
|
|
"src_bundle_id": "org.cocos2dx.hellolua",
|
|
|
|
"files": [
|
|
|
|
"frameworks/runtime-src/proj.ios_mac/mac/Info.plist"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"project_replace_ios_bundleid": {
|
|
|
|
"src_bundle_id": "org.cocos2dx.hellolua",
|
|
|
|
"files": [
|
|
|
|
"frameworks/runtime-src/proj.ios_mac/ios/Info.plist"
|
|
|
|
]
|
2014-05-04 14:37:55 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|