mirror of https://github.com/axmolengine/axmol.git
Modify the mechanism that files copy to lua-empty-test and lua-template
This commit is contained in:
parent
201b33b465
commit
00865c8abb
|
@ -123,6 +123,10 @@ def copy_files(src, dst):
|
|||
os.mkdir(new_dst)
|
||||
copy_files(path, new_dst)
|
||||
|
||||
def copy_file(src_file, dst):
|
||||
if not src_file.startswith('.') and not src_file.endswith('.gz') and os.path.isfile(src_file):
|
||||
shutil.copy(src_file, dst)
|
||||
|
||||
def copy_resources(target, app_android_root):
|
||||
|
||||
# remove app_android_root/assets if it exists
|
||||
|
@ -154,7 +158,45 @@ def copy_resources(target, app_android_root):
|
|||
copy_files(src_dir, assets_src_dir)
|
||||
|
||||
common_script_dir = os.path.join(app_android_root, "../../../../cocos/scripting/lua-bindings/script")
|
||||
copy_files(common_script_dir, assets_dir)
|
||||
if target == "lua-tests":
|
||||
copy_files(common_script_dir, assets_dir)
|
||||
elif target == "lua-empty-test":
|
||||
copy_file(os.path.join(common_script_dir, "AudioEngine.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "bitExtend.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "Cocos2d.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "Cocos2dConstants.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "DeprecatedCocos2dClass.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "DeprecatedCocos2dEnum.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "DeprecatedCocos2dFunc.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "DeprecatedCocosDenshionClass.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "DeprecatedCocosDenshionFunc.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "DeprecatedNetworkClass.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "DeprecatedNetworkEnum.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "DeprecatedNetworkFunc.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "DeprecatedOpenglEnum.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "DrawPrimitives.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "extern.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "json.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "luaj.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "NetworkConstants.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "Opengl.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "OpenglConstants.lua"), assets_dir)
|
||||
elif target == "lua-game-controller-test":
|
||||
copy_file(os.path.join(common_script_dir, "bitExtend.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "Cocos2d.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "Cocos2dConstants.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "DeprecatedCocos2dClass.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "DeprecatedCocos2dEnum.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "DeprecatedCocos2dFunc.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "DeprecatedOpenglEnum.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "DrawPrimitives.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "extern.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "json.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "luaj.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "luaoc.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "Opengl.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "OpenglConstants.lua"), assets_dir)
|
||||
copy_file(os.path.join(common_script_dir, "ControllerConstants.lua"), assets_dir)
|
||||
|
||||
luasocket_script_dir = os.path.join(app_android_root, "../../../../external/lua/luasocket")
|
||||
for root, dirs, files in os.walk(luasocket_script_dir):
|
||||
|
|
|
@ -165,6 +165,24 @@ pre_build(${APP_NAME}
|
|||
COMMAND ${CMAKE_COMMAND} -E remove_directory ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/../res ${APP_BIN_DIR}/Resources/res
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/../src ${APP_BIN_DIR}/Resources/src
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${COCOS2D_ROOT}/cocos/scripting/lua-bindings/script ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${COCOS2D_ROOT}/cocos/scripting/lua-bindings/script/AudioEngine.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${COCOS2D_ROOT}/cocos/scripting/lua-bindings/script/bitExtend.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${COCOS2D_ROOT}/cocos/scripting/lua-bindings/script/Cocos2d.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${COCOS2D_ROOT}/cocos/scripting/lua-bindings/script/Cocos2dConstants.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${COCOS2D_ROOT}/cocos/scripting/lua-bindings/script/DeprecatedCocos2dClass.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${COCOS2D_ROOT}/cocos/scripting/lua-bindings/script/DeprecatedCocos2dEnum.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${COCOS2D_ROOT}/cocos/scripting/lua-bindings/script/DeprecatedCocos2dFunc.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${COCOS2D_ROOT}/cocos/scripting/lua-bindings/script/DeprecatedCocosDenshionClass.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${COCOS2D_ROOT}/cocos/scripting/lua-bindings/script/DeprecatedCocosDenshionFunc.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${COCOS2D_ROOT}/cocos/scripting/lua-bindings/script/DeprecatedNetworkClass.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${COCOS2D_ROOT}/cocos/scripting/lua-bindings/script/DeprecatedNetworkEnum.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${COCOS2D_ROOT}/cocos/scripting/lua-bindings/script/DeprecatedNetworkFunc.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${COCOS2D_ROOT}/cocos/scripting/lua-bindings/script/DeprecatedOpenglEnum.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${COCOS2D_ROOT}/cocos/scripting/lua-bindings/script/DrawPrimitives.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${COCOS2D_ROOT}/cocos/scripting/lua-bindings/script/extern.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${COCOS2D_ROOT}/cocos/scripting/lua-bindings/script/json.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${COCOS2D_ROOT}/cocos/scripting/lua-bindings/script/NetworkConstants.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${COCOS2D_ROOT}/cocos/scripting/lua-bindings/script/Opengl.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${COCOS2D_ROOT}/cocos/scripting/lua-bindings/script/OpenglConstants.lua ${APP_BIN_DIR}/Resources
|
||||
)
|
||||
|
||||
|
|
|
@ -15,8 +15,91 @@
|
|||
"to": "res"
|
||||
},
|
||||
{
|
||||
"from": "../../cocos2d-x/cocos/scripting/lua-bindings/script",
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/AudioEngine.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/bitExtend.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/Cocos2d.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/Cocos2dConstants.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedCocos2dClass.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedCocos2dEnum.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedCocos2dFunc.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedCocosDenshionClass.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedCocosDenshionFunc.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedNetworkClass.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedNetworkEnum.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedNetworkFunc.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedOpenglEnum.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DrawPrimitives.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/extern.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/json.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/luaj.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/NetworkConstants.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/Opengl.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/OpenglConstants.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../external/lua/luasocket",
|
||||
"to": "",
|
||||
"include": [
|
||||
"*.lua"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -91,8 +91,6 @@
|
|||
C03781E418BF656A00FE4F13 /* extern.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C718BF656A00FE4F13 /* extern.lua */; };
|
||||
C03781E718BF656A00FE4F13 /* json.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C918BF656A00FE4F13 /* json.lua */; };
|
||||
C03781E818BF656A00FE4F13 /* json.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781C918BF656A00FE4F13 /* json.lua */; };
|
||||
C03781E918BF656A00FE4F13 /* luaj.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781CA18BF656A00FE4F13 /* luaj.lua */; };
|
||||
C03781EA18BF656A00FE4F13 /* luaj.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781CA18BF656A00FE4F13 /* luaj.lua */; };
|
||||
C03781EB18BF656A00FE4F13 /* luaoc.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781CB18BF656A00FE4F13 /* luaoc.lua */; };
|
||||
C03781EC18BF656A00FE4F13 /* luaoc.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781CB18BF656A00FE4F13 /* luaoc.lua */; };
|
||||
C03781ED18BF656A00FE4F13 /* Opengl.lua in Resources */ = {isa = PBXBuildFile; fileRef = C03781CC18BF656A00FE4F13 /* Opengl.lua */; };
|
||||
|
@ -507,7 +505,6 @@
|
|||
C03781C618BF656A00FE4F13 /* DrawPrimitives.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DrawPrimitives.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/DrawPrimitives.lua"; sourceTree = "<group>"; };
|
||||
C03781C718BF656A00FE4F13 /* extern.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = extern.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/extern.lua"; sourceTree = "<group>"; };
|
||||
C03781C918BF656A00FE4F13 /* json.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = json.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/json.lua"; sourceTree = "<group>"; };
|
||||
C03781CA18BF656A00FE4F13 /* luaj.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = luaj.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/luaj.lua"; sourceTree = "<group>"; };
|
||||
C03781CB18BF656A00FE4F13 /* luaoc.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = luaoc.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/luaoc.lua"; sourceTree = "<group>"; };
|
||||
C03781CC18BF656A00FE4F13 /* Opengl.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Opengl.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/Opengl.lua"; sourceTree = "<group>"; };
|
||||
C03781CD18BF656A00FE4F13 /* OpenglConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = OpenglConstants.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/OpenglConstants.lua"; sourceTree = "<group>"; };
|
||||
|
@ -624,7 +621,6 @@
|
|||
C03781C618BF656A00FE4F13 /* DrawPrimitives.lua */,
|
||||
C03781C718BF656A00FE4F13 /* extern.lua */,
|
||||
C03781C918BF656A00FE4F13 /* json.lua */,
|
||||
C03781CA18BF656A00FE4F13 /* luaj.lua */,
|
||||
C03781CB18BF656A00FE4F13 /* luaoc.lua */,
|
||||
C03781CC18BF656A00FE4F13 /* Opengl.lua */,
|
||||
C03781CD18BF656A00FE4F13 /* OpenglConstants.lua */,
|
||||
|
@ -1141,7 +1137,6 @@
|
|||
15427D76198F82DA00DC375D /* DeprecatedCocos2dFunc.lua in Resources */,
|
||||
15427D7E198F82DA00DC375D /* DeprecatedNetworkEnum.lua in Resources */,
|
||||
15427D80198F82DA00DC375D /* DeprecatedNetworkFunc.lua in Resources */,
|
||||
C03781EA18BF656A00FE4F13 /* luaj.lua in Resources */,
|
||||
15427D74198F82DA00DC375D /* DeprecatedCocos2dEnum.lua in Resources */,
|
||||
C03781E818BF656A00FE4F13 /* json.lua in Resources */,
|
||||
15427D82198F82DA00DC375D /* NetworkConstants.lua in Resources */,
|
||||
|
@ -1159,7 +1154,6 @@
|
|||
15427D7D198F82DA00DC375D /* DeprecatedNetworkEnum.lua in Resources */,
|
||||
5023811D17EBBCAC00990C9B /* Icon-120.png in Resources */,
|
||||
5091733B17ECE17A00D62437 /* Icon-100.png in Resources */,
|
||||
C03781E918BF656A00FE4F13 /* luaj.lua in Resources */,
|
||||
5023811B17EBBCAC00990C9B /* Default@2x.png in Resources */,
|
||||
5091733617ECE17A00D62437 /* Icon-29.png in Resources */,
|
||||
C03781E718BF656A00FE4F13 /* json.lua in Resources */,
|
||||
|
|
|
@ -104,7 +104,26 @@
|
|||
</DllDataFileName>
|
||||
</Midl>
|
||||
<PreBuildEvent>
|
||||
<Command>xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script" "$(ProjectDir)..\..\..\" /e /Y</Command>
|
||||
<Command>xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\AudioEngine.lua" "$(ProjectDir)..\..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\bitExtend.lua" "$(ProjectDir)..\..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\Cocos2d.lua" "$(ProjectDir)..\..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\Cocos2dConstants.lua" "$(ProjectDir)..\..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedCocos2dClass.lua" "$(ProjectDir)..\..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedCocos2dEnum.lua" "$(ProjectDir)..\..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedCocos2dFunc.lua" "$(ProjectDir)..\..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedCocosDenshionClass.lua" "$(ProjectDir)..\..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedCocosDenshionFunc.lua" "$(ProjectDir)..\..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedNetworkClass.lua" "$(ProjectDir)..\..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedNetworkEnum.lua" "$(ProjectDir)..\..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedNetworkFunc.lua" "$(ProjectDir)..\..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedOpenglEnum.lua" "$(ProjectDir)..\..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DrawPrimitives.lua" "$(ProjectDir)..\..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\extern.lua" "$(ProjectDir)..\..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\json.lua" "$(ProjectDir)..\..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\NetworkConstants.lua" "$(ProjectDir)..\..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\Opengl.lua" "$(ProjectDir)..\..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\OpenglConstants.lua" "$(ProjectDir)..\..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\external\lua\luasocket\*.lua" "$(ProjectDir)..\..\..\" /e /Y</Command>
|
||||
<Message>copy files</Message>
|
||||
</PreBuildEvent>
|
||||
<PreLinkEvent>
|
||||
|
@ -151,7 +170,26 @@ xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)"</C
|
|||
</DllDataFileName>
|
||||
</Midl>
|
||||
<PreBuildEvent>
|
||||
<Command>xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script" "$(ProjectDir)..\..\..\" /e /Y</Command>
|
||||
<Command>xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\AudioEngine.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\bitExtend.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\Cocos2d.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\Cocos2dConstants.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedCocos2dClass.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedCocos2dEnum.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedCocos2dFunc.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedCocosDenshionClass.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedCocosDenshionFunc.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedNetworkClass.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedNetworkEnum.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedNetworkFunc.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedOpenglEnum.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DrawPrimitives.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\extern.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\json.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\NetworkConstants.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\Opengl.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\OpenglConstants.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\external\lua\luasocket\*.lua" "$(ProjectDir)..\..\" /e /Y</Command>
|
||||
<Message>copy files</Message>
|
||||
</PreBuildEvent>
|
||||
<PreLinkEvent>
|
||||
|
|
|
@ -23,7 +23,83 @@
|
|||
],
|
||||
"must_copy_resources": [
|
||||
{
|
||||
"from": "../../cocos2d-x/cocos/scripting/lua-bindings/script",
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/AudioEngine.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/bitExtend.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/Cocos2d.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/Cocos2dConstants.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedCocos2dClass.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedCocos2dEnum.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedCocos2dFunc.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedCocosDenshionClass.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedCocosDenshionFunc.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedNetworkClass.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedNetworkEnum.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedNetworkFunc.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedOpenglEnum.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DrawPrimitives.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/extern.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/json.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/luaj.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/NetworkConstants.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/Opengl.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/OpenglConstants.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
|
|
|
@ -109,8 +109,25 @@
|
|||
</Midl>
|
||||
<PreBuildEvent>
|
||||
<Command>if not exist "$(OutDir)" mkdir "$(OutDir)"
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\external\lua\luasocket\*.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y</Command>
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\AudioEngine.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\bitExtend.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\Cocos2d.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\Cocos2dConstants.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedCocos2dClass.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedCocos2dEnum.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedCocos2dFunc.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedCocosDenshionClass.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedCocosDenshionFunc.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedNetworkClass.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedNetworkEnum.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedNetworkFunc.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedOpenglEnum.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DrawPrimitives.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\extern.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\json.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\NetworkConstants.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\Opengl.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\OpenglConstants.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y</Command>
|
||||
<Message>copy files</Message>
|
||||
</PreBuildEvent>
|
||||
<PreLinkEvent>
|
||||
|
@ -163,15 +180,25 @@ xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)"</C
|
|||
</Midl>
|
||||
<PreBuildEvent>
|
||||
<Command>if not exist "$(OutDir)" mkdir "$(OutDir)"
|
||||
if exist "$(OutDir)\Resource" rd /s /q "$(OutDir)\Resource"
|
||||
mkdir "$(OutDir)\Resource"
|
||||
mkdir "$(OutDir)\Resource\src"
|
||||
mkdir "$(OutDir)\Resource\res"
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script" "$(OutDir)\Resource" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\src" "$(OutDir)\Resource\src" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\res" "$(OutDir)\Resource\res" /e /Y
|
||||
copy "$(ProjectDir)..\..\..\config.json" "$(OutDir)\Resource\config.json" /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\external\lua\luasocket\*.lua" "$(OutDir)\Resource" /e /Y</Command>
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\AudioEngine.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\bitExtend.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\Cocos2d.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\Cocos2dConstants.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedCocos2dClass.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedCocos2dEnum.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedCocos2dFunc.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedCocosDenshionClass.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedCocosDenshionFunc.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedNetworkClass.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedNetworkEnum.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedNetworkFunc.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DeprecatedOpenglEnum.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\DrawPrimitives.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\extern.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\json.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\NetworkConstants.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\Opengl.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\OpenglConstants.lua" "$(ProjectDir)..\..\..\runtime\win32\" /e /Y</Command>
|
||||
<Message>copy files</Message>
|
||||
</PreBuildEvent>
|
||||
<PreLinkEvent>
|
||||
|
|
|
@ -35,5 +35,23 @@ pre_build(${APP_NAME}
|
|||
COMMAND ${CMAKE_COMMAND} -E remove_directory ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/../res ${APP_BIN_DIR}/Resources/res
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/../src ${APP_BIN_DIR}/Resources/src
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/cocos/scripting/lua-bindings/script ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/cocos/scripting/lua-bindings/script/AudioEngine.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/cocos/scripting/lua-bindings/script/bitExtend.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/cocos/scripting/lua-bindings/script/Cocos2d.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/cocos/scripting/lua-bindings/script/Cocos2dConstants.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/cocos/scripting/lua-bindings/script/DeprecatedCocos2dClass.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/cocos/scripting/lua-bindings/script/DeprecatedCocos2dEnum.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/cocos/scripting/lua-bindings/script/DeprecatedCocos2dFunc.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/cocos/scripting/lua-bindings/script/DeprecatedCocosDenshionClass.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/cocos/scripting/lua-bindings/script/DeprecatedCocosDenshionFunc.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/cocos/scripting/lua-bindings/script/DeprecatedNetworkClass.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/cocos/scripting/lua-bindings/script/DeprecatedNetworkEnum.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/cocos/scripting/lua-bindings/script/DeprecatedNetworkFunc.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/cocos/scripting/lua-bindings/script/DeprecatedOpenglEnum.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/cocos/scripting/lua-bindings/script/DrawPrimitives.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/cocos/scripting/lua-bindings/script/extern.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/cocos/scripting/lua-bindings/script/json.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/cocos/scripting/lua-bindings/script/NetworkConstants.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/cocos/scripting/lua-bindings/script/Opengl.lua ${APP_BIN_DIR}/Resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/cocos/scripting/lua-bindings/script/OpenglConstants.lua ${APP_BIN_DIR}/Resources
|
||||
)
|
||||
|
|
|
@ -14,7 +14,83 @@
|
|||
"to": "res"
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script",
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/AudioEngine.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/bitExtend.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/Cocos2d.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/Cocos2dConstants.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedCocos2dClass.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedCocos2dEnum.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedCocos2dFunc.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedCocosDenshionClass.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedCocosDenshionFunc.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedNetworkClass.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedNetworkEnum.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedNetworkFunc.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedOpenglEnum.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DrawPrimitives.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/extern.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/json.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/luaj.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/NetworkConstants.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/Opengl.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/OpenglConstants.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
|
|
|
@ -108,7 +108,25 @@
|
|||
<TargetMachine>MachineX86</TargetMachine>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<Command>xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script" "$(ProjectDir)..\..\" /e /Y
|
||||
<Command>xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\AudioEngine.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\bitExtend.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\Cocos2d.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\Cocos2dConstants.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\DeprecatedCocos2dClass.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\DeprecatedCocos2dEnum.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\DeprecatedCocos2dFunc.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\DeprecatedCocosDenshionClass.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\DeprecatedCocosDenshionFunc.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\DeprecatedNetworkClass.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\DeprecatedNetworkEnum.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\DeprecatedNetworkFunc.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\DeprecatedOpenglEnum.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\DrawPrimitives.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\extern.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\json.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\NetworkConstants.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\Opengl.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\OpenglConstants.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\external\lua\luasocket\*.lua" "$(ProjectDir)..\..\" /e /Y</Command>
|
||||
</PreBuildEvent>
|
||||
<PreLinkEvent>
|
||||
|
@ -162,7 +180,25 @@ xcopy /Y /Q "$(ProjectDir)..\..\..\..\external\websockets\prebuilt\win32\*.*" "$
|
|||
</Command>
|
||||
</PreLinkEvent>
|
||||
<PreBuildEvent>
|
||||
<Command>xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script" "$(ProjectDir)..\..\" /e /Y
|
||||
<Command>xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\AudioEngine.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\bitExtend.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\Cocos2d.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\Cocos2dConstants.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\DeprecatedCocos2dClass.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\DeprecatedCocos2dEnum.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\DeprecatedCocos2dFunc.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\DeprecatedCocosDenshionClass.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\DeprecatedCocosDenshionFunc.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\DeprecatedNetworkClass.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\DeprecatedNetworkEnum.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\DeprecatedNetworkFunc.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\DeprecatedOpenglEnum.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\DrawPrimitives.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\extern.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\json.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\NetworkConstants.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\Opengl.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\OpenglConstants.lua" "$(ProjectDir)..\..\" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\..\..\external\lua\luasocket\*.lua" "$(ProjectDir)..\..\" /e /Y</Command>
|
||||
</PreBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
|
|
|
@ -14,15 +14,64 @@
|
|||
"to": "res"
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script",
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/AudioEngine.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../external/lua/luasocket",
|
||||
"to": "",
|
||||
"include": [
|
||||
"*.lua"
|
||||
]
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/bitExtend.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/Cocos2d.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/Cocos2dConstants.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedCocos2dClass.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedCocos2dEnum.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedCocos2dFunc.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedNetworkClass.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DeprecatedOpenglEnum.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/DrawPrimitives.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/extern.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/json.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/Opengl.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/OpenglConstants.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../../cocos/scripting/lua-bindings/script/ControllerConstants.lua",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../../game-controller-test/Resources",
|
||||
|
|
Loading…
Reference in New Issue