mirror of https://github.com/axmolengine/axmol.git
296 lines
10 KiB
JSON
296 lines
10 KiB
JSON
{
|
|
"do_default":{
|
|
"exclude_from_template":[
|
|
"frameworks/runtime-src"
|
|
],
|
|
"project_replace_project_name":{
|
|
"src_project_name":"HelloJavascript",
|
|
"files":[
|
|
"config.json",
|
|
".project"
|
|
]
|
|
},
|
|
"append_dir":[
|
|
{
|
|
"from":"plugin/plugins/facebook/proj.android/DependProject/src",
|
|
"to":"frameworks/cocos2d-x/plugin/plugins/facebook/proj.android/DependProject/src"
|
|
},
|
|
{
|
|
"from":"cocos/scripting/js-bindings/script",
|
|
"to":"runtime/mac/PrebuiltRuntimeJs.app/Contents/Resources/script",
|
|
"exclude":[]
|
|
},
|
|
{
|
|
"from":"cocos/scripting/js-bindings/script",
|
|
"to":"runtime/ios/PrebuiltRuntimeJs.app/script",
|
|
"exclude":[]
|
|
},
|
|
{
|
|
"from":"cocos/scripting/js-bindings/script",
|
|
"to":"runtime/win32/script",
|
|
"exclude":[]
|
|
},
|
|
{
|
|
"from":"templates/js-template-runtime/src",
|
|
"to":"runtime/win32/src",
|
|
"exclude":[]
|
|
},
|
|
{
|
|
"from":"templates/js-template-runtime/res",
|
|
"to":"runtime/win32/res",
|
|
"exclude":[]
|
|
},
|
|
{
|
|
"from":"external/win32-specific/gles/prebuilt",
|
|
"to":"runtime/win32",
|
|
"include": [
|
|
"*.dll"
|
|
]
|
|
},
|
|
{
|
|
"from":"external/win32-specific/icon/prebuilt",
|
|
"to":"runtime/win32",
|
|
"include": [
|
|
"*.dll"
|
|
]
|
|
},
|
|
{
|
|
"from":"external/win32-specific/MP3Decoder/prebuilt",
|
|
"to":"runtime/win32",
|
|
"include": [
|
|
"*.dll"
|
|
]
|
|
},
|
|
{
|
|
"from":"external/win32-specific/OggDecoder/prebuilt",
|
|
"to":"runtime/win32",
|
|
"include": [
|
|
"*.dll"
|
|
]
|
|
},
|
|
{
|
|
"from":"external/win32-specific/OpenalSoft/prebuilt",
|
|
"to":"runtime/win32",
|
|
"include": [
|
|
"*.dll"
|
|
]
|
|
},
|
|
{
|
|
"from":"external/win32-specific/zlib/prebuilt",
|
|
"to":"runtime/win32",
|
|
"include": [
|
|
"*.dll"
|
|
]
|
|
},
|
|
{
|
|
"from":"external/curl/prebuilt/win32",
|
|
"to":"runtime/win32",
|
|
"include": [
|
|
"*.dll"
|
|
]
|
|
},
|
|
{
|
|
"from":"external/sqlite3/libraries/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"
|
|
]
|
|
},
|
|
{
|
|
"from":"external/spidermonkey/prebuilt/win32",
|
|
"to":"runtime/win32",
|
|
"include": [
|
|
"*.dll"
|
|
]
|
|
}
|
|
],
|
|
"append_file":[
|
|
{
|
|
"from":"tools/simulator/frameworks/runtime-src/Classes/ide-support/lang",
|
|
"to":"runtime/win32/lang"
|
|
},
|
|
{
|
|
"from":"templates/js-template-runtime/project.json",
|
|
"to":"runtime/ios/PrebuiltRuntimeJs.app/project.json"
|
|
},
|
|
{
|
|
"from":"templates/js-template-runtime/project.json",
|
|
"to":"runtime/win32/project.json"
|
|
},
|
|
{
|
|
"from":"templates/js-template-runtime/config.json",
|
|
"to":"runtime/win32/config.json"
|
|
},
|
|
{
|
|
"from":"templates/js-template-runtime/main.js",
|
|
"to":"runtime/win32/main.js"
|
|
}
|
|
]
|
|
},
|
|
"do_add_native_support":{
|
|
"append_from_template":{
|
|
"from":"frameworks/runtime-src",
|
|
"to":"frameworks/runtime-src",
|
|
"exclude":[
|
|
"proj.android/bin",
|
|
"proj.android/assets",
|
|
"proj.ios_mac/HelloJavascript.xcodeproj/project.xcworkspace",
|
|
"proj.ios_mac/HelloJavascript.xcodeproj/xcuserdata",
|
|
"proj.win32/Debug.win32",
|
|
"proj.win32/Release.win32",
|
|
"proj.win32/HelloJavascript.sdf"
|
|
]
|
|
},
|
|
"append_dir":[
|
|
{
|
|
"from":"tools/bindings-generator",
|
|
"to":"tools/bindings-generator",
|
|
"exclude":[
|
|
".git"
|
|
]
|
|
},
|
|
{
|
|
"from":"tools",
|
|
"to":"tools",
|
|
"include":[
|
|
"tojs"
|
|
]
|
|
},
|
|
{
|
|
"from": "tools/simulator/frameworks/runtime-src/Classes/ide-support",
|
|
"to": "frameworks/runtime-src/Classes/ide-support",
|
|
"exclude": [
|
|
"RuntimeLuaImpl.*",
|
|
"lua_debugger.*"
|
|
]
|
|
},
|
|
{
|
|
"from": "tools/simulator/frameworks/runtime-src/proj.ios_mac/ios",
|
|
"to": "frameworks/runtime-src/proj.ios_mac/ios",
|
|
"exclude": [
|
|
"RootViewController.*",
|
|
"Info.plist"
|
|
]
|
|
},
|
|
{
|
|
"from": "tools/simulator/frameworks/runtime-src/proj.ios_mac/mac",
|
|
"to": "frameworks/runtime-src/proj.ios_mac/mac",
|
|
"exclude": [
|
|
"Info.plist",
|
|
"Icon.icns",
|
|
"build-cfg.json"
|
|
]
|
|
},
|
|
{
|
|
"from": "tools/simulator/frameworks/runtime-src/proj.win32/build-cfg.json",
|
|
"to": "frameworks/runtime-src/proj.win32/",
|
|
"exclude": []
|
|
},
|
|
{
|
|
"from": "templates/lua-template-default/frameworks/runtime-src/proj.win32/game.rc",
|
|
"to": "frameworks/runtime-src/proj.win32/",
|
|
"exclude": []
|
|
},
|
|
{
|
|
"from": "tools/simulator/frameworks/runtime-src/proj.win32/main.cpp",
|
|
"to": "frameworks/runtime-src/proj.win32/",
|
|
"exclude": []
|
|
},
|
|
{
|
|
"from": "tools/simulator/frameworks/runtime-src/proj.win32/main.h",
|
|
"to": "frameworks/runtime-src/proj.win32/",
|
|
"exclude": []
|
|
},
|
|
{
|
|
"from": "tools/simulator/frameworks/runtime-src/proj.win32/res",
|
|
"to": "frameworks/runtime-src/proj.win32/res",
|
|
"exclude": []
|
|
},
|
|
{
|
|
"from": "tools/simulator/frameworks/runtime-src/proj.win32/resource.h",
|
|
"to": "frameworks/runtime-src/proj.win32/",
|
|
"exclude": []
|
|
},
|
|
{
|
|
"from": "tools/simulator/frameworks/runtime-src/proj.win32/SimulatorWin.cpp",
|
|
"to": "frameworks/runtime-src/proj.win32/",
|
|
"exclude": []
|
|
},
|
|
{
|
|
"from": "tools/simulator/frameworks/runtime-src/proj.win32/SimulatorWin.h",
|
|
"to": "frameworks/runtime-src/proj.win32/",
|
|
"exclude": []
|
|
}
|
|
],
|
|
"append_x_engine":{
|
|
"from": ".",
|
|
"to": "frameworks/cocos2d-x"
|
|
},
|
|
"project_rename":{
|
|
"src_project_name":"HelloJavascript",
|
|
"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":"HelloJavascript",
|
|
"files":[
|
|
"config.json",
|
|
"manifest.webapp",
|
|
".project",
|
|
"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.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",
|
|
"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",
|
|
"frameworks/runtime-src/Classes/AppDelegate.cpp"
|
|
]
|
|
},
|
|
"project_replace_package_name":{
|
|
"src_package_name":"org.cocos2dx.hellojavascript",
|
|
"files":[
|
|
"frameworks/runtime-src/proj.android/AndroidManifest.xml"
|
|
]
|
|
},
|
|
"project_replace_mac_bundleid":{
|
|
"src_bundle_id":"org.cocos2dx.hellojavascript",
|
|
"files":[
|
|
"frameworks/runtime-src/proj.ios_mac/mac/Info.plist"
|
|
]
|
|
},
|
|
"project_replace_ios_bundleid":{
|
|
"src_bundle_id":"org.cocos2dx.hellojavascript",
|
|
"files":[
|
|
"frameworks/runtime-src/proj.ios_mac/ios/Info.plist"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
|