axmol/tools/framework-compile/bin/template_binary_config.json

186 lines
5.7 KiB
JSON
Executable File

{
"template_copy_config" : [
{
"from": "templates/cpp-template-default",
"to": "cpp-template-binary",
"exclude": [
"*wp8",
"*win8.1-universal",
"*linux",
"*CMakeLists.txt",
"Resources",
"cocos-project-template.json"
]
},
{
"from": "templates/lua-template-default",
"to": "lua-template-binary",
"include" : [
"config.json",
".settings",
".project"
]
},
{
"from": "templates/lua-template-default/frameworks",
"to": "lua-template-binary/frameworks",
"exclude": [
"*wp8",
"*win8.1-universal",
"*linux",
"*CMakeLists.txt"
]
},
{
"from": "templates/lua-template-default/src",
"to": "lua-template-binary/src",
"exclude": [
"app/*"
]
},
{
"from": "templates/js-template-runtime",
"to": "js-template-binary",
"exclude": [
"*wp8",
"*win8.1-universal",
"*linux",
"*CMakeLists.txt",
"res/*",
"runtime/*"
]
},
{
"from": "web",
"to": "js-template-binary/frameworks/cocos2d-html5",
"exclude": [
".*"
]
},
{
"from": "tools/simulator/frameworks/runtime-src/Classes/ide-support",
"to": "lua-template-binary/frameworks/runtime-src/Classes/ide-support/",
"exclude": [
"RuntimeJsImpl.*"
]
},
{
"from": "tools/simulator/frameworks/runtime-src/proj.ios_mac/ios",
"to": "lua-template-binary/frameworks/runtime-src/proj.ios_mac/ios",
"exclude": [
"RootViewController.*",
"Info.plist"
]
},
{
"from": "tools/simulator/frameworks/runtime-src/proj.ios_mac/mac",
"to": "lua-template-binary/frameworks/runtime-src/proj.ios_mac/mac",
"exclude": [
"Info.plist",
"Icon.icns",
"build-cfg.json"
]
},
{
"from": "tools/simulator/frameworks/runtime-src/proj.win32",
"to": "lua-template-binary/frameworks/runtime-src/proj.win32/",
"include": [
"build-cfg.json",
"game.rc",
"main.cpp",
"main.h",
"res",
"resource.h",
"SimulatorWin.cpp",
"SimulatorWin.h"
]
},
{
"from": "tools/simulator/frameworks/runtime-src/Classes/ide-support",
"to": "js-template-binary/frameworks/runtime-src/Classes/ide-support/",
"exclude": [
"RuntimeLuaImpl.*",
"lua_debugger.*"
]
},
{
"from": "tools/simulator/frameworks/runtime-src/proj.ios_mac/ios",
"to": "js-template-binary/frameworks/runtime-src/proj.ios_mac/ios",
"exclude": [
"RootViewController.*",
"Info.plist"
]
},
{
"from": "tools/simulator/frameworks/runtime-src/proj.ios_mac/mac",
"to": "js-template-binary/frameworks/runtime-src/proj.ios_mac/mac",
"exclude": [
"Info.plist",
"Icon.icns",
"build-cfg.json"
]
},
{
"from": "tools/simulator/frameworks/runtime-src/proj.win32",
"to": "js-template-binary/frameworks/runtime-src/proj.win32/",
"include": [
"build-cfg.json",
"game.rc",
"main.cpp",
"main.h",
"res",
"resource.h",
"SimulatorWin.cpp",
"SimulatorWin.h"
]
},
{
"from": "cocos/platform/android/java/src",
"to": "cpp-template-binary/proj.android/src",
"include": [
"*.java"
]
},
{
"from": "cocos/platform/android/java/src",
"to": "lua-template-binary/frameworks/runtime-src/proj.android/src",
"include": [
"*.java"
]
},
{
"from": "cocos/platform/android/java/src",
"to": "js-template-binary/frameworks/runtime-src/proj.android/src",
"include": [
"*.java"
]
}
],
"modify_config": [
{
"file_path": "cocos/2d/cocos2dx.props",
"pattern": "libbox2d\\.lib;",
"replace_string": ""
},
{
"file_path": "cocos/2d/cocos2dx.props",
"pattern": "libSpine\\.lib;",
"replace_string": ""
}
],
"android_mks" : [
"cocos/storage/local-storage/Android.mk",
"external/flatbuffers/Android.mk",
"external/Box2D/Android.mk",
"cocos/editor-support/cocosbuilder/Android.mk",
"extensions/Android.mk",
"cocos/3d/Android.mk",
"cocos/ui/Android.mk",
"cocos/editor-support/cocostudio/Android.mk",
"cocos/network/Android.mk",
"cocos/platform/android/Android.mk",
"cocos/editor-support/spine/Android.mk",
"tools/simulator/libsimulator/proj.android/Android.mk"
]
}