mirror of https://github.com/axmolengine/axmol.git
Adjust lua_debugger.h/c to lua runtime template and adjust related project configure
This commit is contained in:
parent
8fdaaccd3d
commit
032f5ea781
|
@ -8,7 +8,6 @@ LOCAL_MODULE_FILENAME := libluacocos2d
|
|||
LOCAL_SRC_FILES := ../manual/CCLuaBridge.cpp \
|
||||
../manual/CCLuaEngine.cpp \
|
||||
../manual/CCLuaStack.cpp \
|
||||
../manual/lua_debugger.c \
|
||||
../manual/CCLuaValue.cpp \
|
||||
../manual/Cocos2dxLuaLoader.cpp \
|
||||
../manual/LuaBasicConversions.cpp \
|
||||
|
|
|
@ -150,10 +150,8 @@
|
|||
15C1C2E019874B8800A46ACC /* CCLuaValue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76618BC45C200215002 /* CCLuaValue.cpp */; };
|
||||
15C1C2E119874B8800A46ACC /* Cocos2dxLuaLoader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76818BC45C200215002 /* Cocos2dxLuaLoader.cpp */; };
|
||||
15C1C2E219874BA100A46ACC /* LuaBasicConversions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE77E18BC45C200215002 /* LuaBasicConversions.cpp */; };
|
||||
15C1C2E319874BEC00A46ACC /* lua_debugger.c in Sources */ = {isa = PBXBuildFile; fileRef = C0FEF4D418BE0E70001F446C /* lua_debugger.c */; };
|
||||
15C1C2E419874C7C00A46ACC /* tolua_fix.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A262AB718BEEF5900D2DB92 /* tolua_fix.cpp */; };
|
||||
15C1C2E519874C9200A46ACC /* CCLuaObjcBridge.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE78F18BC45C200215002 /* CCLuaObjcBridge.mm */; };
|
||||
15C1C2E619874CBE00A46ACC /* lua_debugger.h in Headers */ = {isa = PBXBuildFile; fileRef = C0FEF4D518BE0E70001F446C /* lua_debugger.h */; };
|
||||
15C1C2E719874CBE00A46ACC /* CCLuaBridge.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76118BC45C200215002 /* CCLuaBridge.h */; };
|
||||
15C1C2E819874CBE00A46ACC /* CCLuaEngine.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76318BC45C200215002 /* CCLuaEngine.h */; };
|
||||
15C1C2E919874CBE00A46ACC /* CCLuaStack.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76518BC45C200215002 /* CCLuaStack.h */; };
|
||||
|
@ -250,7 +248,6 @@
|
|||
15EFA62E198B3220000C57D3 /* lua_cocos2dx_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCD81986525900A46ACC /* lua_cocos2dx_manual.hpp */; };
|
||||
15EFA62F198B3220000C57D3 /* lua_cocos2dx_physics_manual.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCDA1986525900A46ACC /* lua_cocos2dx_physics_manual.hpp */; };
|
||||
15EFA630198B3220000C57D3 /* LuaScriptHandlerMgr.h in Headers */ = {isa = PBXBuildFile; fileRef = 15C1BCDC1986525900A46ACC /* LuaScriptHandlerMgr.h */; };
|
||||
15EFA631198B328B000C57D3 /* lua_debugger.c in Sources */ = {isa = PBXBuildFile; fileRef = C0FEF4D418BE0E70001F446C /* lua_debugger.c */; };
|
||||
15EFA632198B328B000C57D3 /* CCLuaBridge.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76018BC45C200215002 /* CCLuaBridge.cpp */; };
|
||||
15EFA633198B328B000C57D3 /* CCLuaEngine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76218BC45C200215002 /* CCLuaEngine.cpp */; };
|
||||
15EFA634198B328B000C57D3 /* CCLuaStack.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE76418BC45C200215002 /* CCLuaStack.cpp */; };
|
||||
|
@ -259,7 +256,6 @@
|
|||
15EFA637198B328B000C57D3 /* LuaBasicConversions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE77E18BC45C200215002 /* LuaBasicConversions.cpp */; };
|
||||
15EFA638198B328B000C57D3 /* CCLuaObjcBridge.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1AACE78F18BC45C200215002 /* CCLuaObjcBridge.mm */; };
|
||||
15EFA639198B328B000C57D3 /* tolua_fix.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1A262AB718BEEF5900D2DB92 /* tolua_fix.cpp */; };
|
||||
15EFA63A198B32BB000C57D3 /* lua_debugger.h in Headers */ = {isa = PBXBuildFile; fileRef = C0FEF4D518BE0E70001F446C /* lua_debugger.h */; };
|
||||
15EFA63B198B32BB000C57D3 /* CCLuaBridge.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76118BC45C200215002 /* CCLuaBridge.h */; };
|
||||
15EFA63C198B32BB000C57D3 /* CCLuaEngine.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76318BC45C200215002 /* CCLuaEngine.h */; };
|
||||
15EFA63D198B32BB000C57D3 /* CCLuaStack.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AACE76518BC45C200215002 /* CCLuaStack.h */; };
|
||||
|
@ -541,8 +537,6 @@
|
|||
2905FACE18CF12E600240AA3 /* lua_cocos2dx_ui_auto.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = lua_cocos2dx_ui_auto.cpp; sourceTree = "<group>"; };
|
||||
2905FACF18CF12E600240AA3 /* lua_cocos2dx_ui_auto.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = lua_cocos2dx_ui_auto.hpp; sourceTree = "<group>"; };
|
||||
C0D9BAFA1974D30000EC35BB /* liblua.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = liblua.a; path = ../../../../external/lua/lua/prebuilt/ios/liblua.a; sourceTree = "<group>"; };
|
||||
C0FEF4D418BE0E70001F446C /* lua_debugger.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = lua_debugger.c; sourceTree = "<group>"; };
|
||||
C0FEF4D518BE0E70001F446C /* lua_debugger.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_debugger.h; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
|
@ -833,8 +827,6 @@
|
|||
15C1BD141986526C00A46ACC /* spine */,
|
||||
15C1BD191986526C00A46ACC /* ui */,
|
||||
15C1BCD21986525900A46ACC /* cocos2d */,
|
||||
C0FEF4D418BE0E70001F446C /* lua_debugger.c */,
|
||||
C0FEF4D518BE0E70001F446C /* lua_debugger.h */,
|
||||
1AACE76018BC45C200215002 /* CCLuaBridge.cpp */,
|
||||
1AACE76118BC45C200215002 /* CCLuaBridge.h */,
|
||||
1AACE76218BC45C200215002 /* CCLuaEngine.cpp */,
|
||||
|
@ -1082,7 +1074,6 @@
|
|||
15AC69DF1987711400D17520 /* lua.h in Headers */,
|
||||
15AC69E01987711400D17520 /* luaconf.h in Headers */,
|
||||
15AC69E11987711400D17520 /* lualib.h in Headers */,
|
||||
15C1C2E619874CBE00A46ACC /* lua_debugger.h in Headers */,
|
||||
15C1C2E719874CBE00A46ACC /* CCLuaBridge.h in Headers */,
|
||||
15C1C2E819874CBE00A46ACC /* CCLuaEngine.h in Headers */,
|
||||
15C1C2E919874CBE00A46ACC /* CCLuaStack.h in Headers */,
|
||||
|
@ -1189,7 +1180,6 @@
|
|||
15EFA64B198B3320000C57D3 /* tolua_event.h in Headers */,
|
||||
15EFA64C198B3320000C57D3 /* tolua++.h in Headers */,
|
||||
15EFA644198B32D5000C57D3 /* xxtea.h in Headers */,
|
||||
15EFA63A198B32BB000C57D3 /* lua_debugger.h in Headers */,
|
||||
15EFA63B198B32BB000C57D3 /* CCLuaBridge.h in Headers */,
|
||||
15EFA63C198B32BB000C57D3 /* CCLuaEngine.h in Headers */,
|
||||
15EFA63D198B32BB000C57D3 /* CCLuaStack.h in Headers */,
|
||||
|
@ -1633,7 +1623,6 @@
|
|||
15AC69DD1987710400D17520 /* tolua_to.c in Sources */,
|
||||
15C1C2E519874C9200A46ACC /* CCLuaObjcBridge.mm in Sources */,
|
||||
15C1C2E419874C7C00A46ACC /* tolua_fix.cpp in Sources */,
|
||||
15C1C2E319874BEC00A46ACC /* lua_debugger.c in Sources */,
|
||||
15C1C2E219874BA100A46ACC /* LuaBasicConversions.cpp in Sources */,
|
||||
15C1C2DD19874B8800A46ACC /* CCLuaBridge.cpp in Sources */,
|
||||
15C1C2DE19874B8800A46ACC /* CCLuaEngine.cpp in Sources */,
|
||||
|
@ -1738,7 +1727,6 @@
|
|||
15EFA649198B3311000C57D3 /* tolua_push.c in Sources */,
|
||||
15EFA64A198B3311000C57D3 /* tolua_to.c in Sources */,
|
||||
15EFA645198B32DB000C57D3 /* xxtea.cpp in Sources */,
|
||||
15EFA631198B328B000C57D3 /* lua_debugger.c in Sources */,
|
||||
15EFA632198B328B000C57D3 /* CCLuaBridge.cpp in Sources */,
|
||||
15EFA633198B328B000C57D3 /* CCLuaEngine.cpp in Sources */,
|
||||
15EFA634198B328B000C57D3 /* CCLuaStack.cpp in Sources */,
|
||||
|
@ -2772,6 +2760,7 @@
|
|||
15D1F2AE1994B2AD00302043 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
15D1F2C11994B2DA00302043 /* Build configuration list for PBXAggregateTarget "build all lualibs iOS" */ = {
|
||||
isa = XCConfigurationList;
|
||||
|
@ -2780,6 +2769,7 @@
|
|||
15D1F2C31994B2DA00302043 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
15EFA2F6198B2791000C57D3 /* Build configuration list for PBXNativeTarget "libluacocosbuilder iOS" */ = {
|
||||
isa = XCConfigurationList;
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
<ClCompile Include="..\manual\cocos2d\lua_cocos2dx_manual.cpp" />
|
||||
<ClCompile Include="..\manual\cocos2d\lua_cocos2dx_physics_manual.cpp" />
|
||||
<ClCompile Include="..\manual\LuaBasicConversions.cpp" />
|
||||
<ClCompile Include="..\manual\lua_debugger.c" />
|
||||
<ClCompile Include="..\manual\tolua_fix.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
@ -58,7 +57,6 @@
|
|||
<ClInclude Include="..\manual\cocos2d\lua_cocos2dx_manual.hpp" />
|
||||
<ClInclude Include="..\manual\cocos2d\lua_cocos2dx_physics_manual.hpp" />
|
||||
<ClInclude Include="..\manual\LuaBasicConversions.h" />
|
||||
<ClInclude Include="..\manual\lua_debugger.h" />
|
||||
<ClInclude Include="..\manual\tolua_fix.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
|
|
@ -63,9 +63,6 @@
|
|||
<ClCompile Include="..\manual\Cocos2dxLuaLoader.cpp">
|
||||
<Filter>manual</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\manual\lua_debugger.c">
|
||||
<Filter>manual</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\manual\LuaBasicConversions.cpp">
|
||||
<Filter>manual</Filter>
|
||||
</ClCompile>
|
||||
|
@ -137,9 +134,6 @@
|
|||
<ClInclude Include="..\manual\Cocos2dxLuaLoader.h">
|
||||
<Filter>manual</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\manual\lua_debugger.h">
|
||||
<Filter>manual</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\manual\LuaBasicConversions.h">
|
||||
<Filter>manual</Filter>
|
||||
</ClInclude>
|
||||
|
|
|
@ -166,6 +166,9 @@
|
|||
<ProjectReference Include="..\..\cocos\2d\libcocos2d.vcxproj">
|
||||
<Project>{98a51ba8-fc3a-415b-ac8f-8c7bd464e93e}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\external\Box2D\proj.win32\libbox2d.vcxproj">
|
||||
<Project>{929480e7-23c0-4df6-8456-096d71547116}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
|
|
|
@ -159,10 +159,8 @@ endif()
|
|||
target_link_libraries(${APP_NAME}
|
||||
luacocos2d
|
||||
luacocosdenshion
|
||||
luanetwork
|
||||
audio
|
||||
cocos2d
|
||||
network
|
||||
xxtea
|
||||
)
|
||||
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
#ifndef __LUA_TEMPLATE_DEFAULT_FRAMEWORKS_RUNTIME_SRC_CLASSES_LUA_MODULE_REGISTER_H__
|
||||
#define __LUA_TEMPLATE_DEFAULT_FRAMEWORKS_RUNTIME_SRC_CLASSES_LUA_MODULE_REGISTER_H__
|
||||
|
||||
#include "network/lua_cocos2dx_network_manual.h"
|
||||
#include "cocosdenshion/lua_cocos2dx_cocosdenshion_manual.h"
|
||||
|
||||
|
||||
int lua_module_register(lua_State* L)
|
||||
{
|
||||
register_network_module(L);
|
||||
register_cocosdenshion_module(L);
|
||||
return 1;
|
||||
}
|
||||
|
|
|
@ -12,11 +12,8 @@ LOCAL_SRC_FILES := hellolua/main.cpp \
|
|||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := curl_static_prebuilt
|
||||
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES := cocos2d_lua_static
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_lua_static
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES += network_lua_static
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
|
|
|
@ -10,8 +10,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HelloLua", "HelloLua.vcxpro
|
|||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libchipmunk", "..\..\cocos2d-x\external\chipmunk\proj.win32\chipmunk.vcxproj", "{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libnetwork", "..\..\cocos2d-x\cocos\network\proj.win32\libNetwork.vcxproj", "{DF2638C0-8128-4847-867C-6EAFE3DEE7B5}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocosdenshion", "..\..\cocos2d-x\cocos\audio\proj.win32\libcocosdenshion.vcxproj", "{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocos2d", "..\..\cocos2d-x\cocos\2d\libcocos2d.vcxproj", "{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}"
|
||||
|
@ -20,8 +18,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libluacocos2d", "..\..\coco
|
|||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libluacocosdenshion", "..\..\cocos2d-x\cocos\scripting\lua-bindings\proj.win32\libluacocosdenshion.vcxproj", "{46A7D57A-7F25-4F52-823B-FFAC4FF3A624}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libluanetwork", "..\..\cocos2d-x\cocos\scripting\lua-bindings\proj.win32\libluanetwork.vcxproj", "{65E52F4B-703F-419E-AD67-926241A10042}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
|
@ -36,10 +32,6 @@ Global
|
|||
{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.Build.0 = Release|Win32
|
||||
{DF2638C0-8128-4847-867C-6EAFE3DEE7B5}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{DF2638C0-8128-4847-867C-6EAFE3DEE7B5}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{DF2638C0-8128-4847-867C-6EAFE3DEE7B5}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{DF2638C0-8128-4847-867C-6EAFE3DEE7B5}.Release|Win32.Build.0 = Release|Win32
|
||||
{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.ActiveCfg = Release|Win32
|
||||
|
@ -56,10 +48,6 @@ Global
|
|||
{46A7D57A-7F25-4F52-823B-FFAC4FF3A624}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{46A7D57A-7F25-4F52-823B-FFAC4FF3A624}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{46A7D57A-7F25-4F52-823B-FFAC4FF3A624}.Release|Win32.Build.0 = Release|Win32
|
||||
{65E52F4B-703F-419E-AD67-926241A10042}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{65E52F4B-703F-419E-AD67-926241A10042}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{65E52F4B-703F-419E-AD67-926241A10042}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{65E52F4B-703F-419E-AD67-926241A10042}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
|
|
@ -183,9 +183,6 @@ xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\cocosden
|
|||
<ProjectReference Include="..\..\cocos2d-x\cocos\scripting\lua-bindings\proj.win32\libluacocosdenshion.vcxproj">
|
||||
<Project>{46a7d57a-7f25-4f52-823b-ffac4ff3a624}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\cocos2d-x\cocos\scripting\lua-bindings\proj.win32\libluanetwork.vcxproj">
|
||||
<Project>{65e52f4b-703f-419e-ad67-926241a10042}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
|
|
|
@ -43,6 +43,21 @@
|
|||
"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": "external/lua/luasocket",
|
||||
"to": "runtime/mac/PrebuiltRuntimeLua.app/Contents/Resources",
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
#ifndef __LUA_TEMPLATE_RUNTIME_FRAMEWORKS_RUNTIME_SRC_CLASSES_LUA_MODULE_REGISTER_H__
|
||||
#define __LUA_TEMPLATE_RUNTIME_FRAMEWORKS_RUNTIME_SRC_CLASSES_LUA_MODULE_REGISTER_H__
|
||||
|
||||
#include "network/lua_cocos2dx_network_manual.h"
|
||||
#include "cocosdenshion/lua_cocos2dx_cocosdenshion_manual.h"
|
||||
|
||||
|
||||
int lua_module_register(lua_State* L)
|
||||
{
|
||||
register_network_module(L);
|
||||
register_cocosdenshion_module(L);
|
||||
return 1;
|
||||
}
|
||||
|
|
|
@ -30,6 +30,17 @@
|
|||
"from": "../../cocos2d-x/cocos/scripting/lua-bindings/script/cocosdenshion",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../cocos2d-x/cocos/scripting/lua-bindings/script/network",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../cocos2d-x/external/lua/luasocket",
|
||||
"to": "",
|
||||
"include": [
|
||||
"*.lua"
|
||||
]
|
||||
},
|
||||
{
|
||||
"from": "../../../config.json",
|
||||
"to": ""
|
||||
|
|
|
@ -26,6 +26,7 @@ LOCAL_SRC_FILES := \
|
|||
../../Classes/runtime/Shine_png.cpp \
|
||||
../../Classes/runtime/Runtime.cpp \
|
||||
../../Classes/runtime/Protos.pb.cc \
|
||||
../../Classes/runtime/lua_debugger.c \
|
||||
../../Classes/VisibleRect.cpp \
|
||||
../../Classes/AppDelegate.cpp \
|
||||
../../Classes/ConfigParser.cpp \
|
||||
|
@ -39,11 +40,9 @@ $(LOCAL_PATH)/../../Classes/runtime \
|
|||
$(LOCAL_PATH)/../../Classes \
|
||||
$(LOCAL_PATH)/../../../cocos2d-x/external
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := curl_static_prebuilt
|
||||
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES := cocos2d_lua_static
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_lua_static
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_network_static
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES += network_lua_static
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
|
|
|
@ -19,6 +19,38 @@
|
|||
15427CF0198F24C400DC375D /* libnetwork Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15427C98198F220600DC375D /* libnetwork Mac.a */; };
|
||||
15A8A4491834C64F00142BE0 /* Icon-114.png in Resources */ = {isa = PBXBuildFile; fileRef = 5023810C17EBBCAC00990C9B /* Icon-114.png */; };
|
||||
15A8A4881834C90F00142BE0 /* libcurl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 15A8A4871834C90E00142BE0 /* libcurl.dylib */; };
|
||||
15AA7D36199B513100725633 /* libluanetwork iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15427CCE198F220600DC375D /* libluanetwork iOS.a */; };
|
||||
15AA7D47199B514300725633 /* libluanetwork Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 15427CBE198F220600DC375D /* libluanetwork Mac.a */; };
|
||||
15AA7D52199B51F000725633 /* ftp.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA7D48199B51F000725633 /* ftp.lua */; };
|
||||
15AA7D53199B51F000725633 /* ftp.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA7D48199B51F000725633 /* ftp.lua */; };
|
||||
15AA7D54199B51F000725633 /* headers.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA7D49199B51F000725633 /* headers.lua */; };
|
||||
15AA7D55199B51F000725633 /* headers.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA7D49199B51F000725633 /* headers.lua */; };
|
||||
15AA7D56199B51F000725633 /* http.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA7D4A199B51F000725633 /* http.lua */; };
|
||||
15AA7D57199B51F000725633 /* http.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA7D4A199B51F000725633 /* http.lua */; };
|
||||
15AA7D58199B51F000725633 /* ltn12.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA7D4B199B51F000725633 /* ltn12.lua */; };
|
||||
15AA7D59199B51F000725633 /* ltn12.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA7D4B199B51F000725633 /* ltn12.lua */; };
|
||||
15AA7D5A199B51F000725633 /* mbox.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA7D4C199B51F000725633 /* mbox.lua */; };
|
||||
15AA7D5B199B51F000725633 /* mbox.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA7D4C199B51F000725633 /* mbox.lua */; };
|
||||
15AA7D5C199B51F000725633 /* mime.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA7D4D199B51F000725633 /* mime.lua */; };
|
||||
15AA7D5D199B51F000725633 /* mime.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA7D4D199B51F000725633 /* mime.lua */; };
|
||||
15AA7D5E199B51F000725633 /* smtp.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA7D4E199B51F000725633 /* smtp.lua */; };
|
||||
15AA7D5F199B51F000725633 /* smtp.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA7D4E199B51F000725633 /* smtp.lua */; };
|
||||
15AA7D60199B51F000725633 /* socket.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA7D4F199B51F000725633 /* socket.lua */; };
|
||||
15AA7D61199B51F000725633 /* socket.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA7D4F199B51F000725633 /* socket.lua */; };
|
||||
15AA7D62199B51F000725633 /* tp.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA7D50199B51F000725633 /* tp.lua */; };
|
||||
15AA7D63199B51F000725633 /* tp.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA7D50199B51F000725633 /* tp.lua */; };
|
||||
15AA7D64199B51F000725633 /* url.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA7D51199B51F000725633 /* url.lua */; };
|
||||
15AA7D65199B51F000725633 /* url.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA7D51199B51F000725633 /* url.lua */; };
|
||||
15AA9632199B525400725633 /* DeprecatedNetworkClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA962E199B525400725633 /* DeprecatedNetworkClass.lua */; };
|
||||
15AA9633199B525400725633 /* DeprecatedNetworkClass.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA962E199B525400725633 /* DeprecatedNetworkClass.lua */; };
|
||||
15AA9634199B525400725633 /* DeprecatedNetworkEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA962F199B525400725633 /* DeprecatedNetworkEnum.lua */; };
|
||||
15AA9635199B525400725633 /* DeprecatedNetworkEnum.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA962F199B525400725633 /* DeprecatedNetworkEnum.lua */; };
|
||||
15AA9636199B525400725633 /* DeprecatedNetworkFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA9630199B525400725633 /* DeprecatedNetworkFunc.lua */; };
|
||||
15AA9637199B525400725633 /* DeprecatedNetworkFunc.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA9630199B525400725633 /* DeprecatedNetworkFunc.lua */; };
|
||||
15AA9638199B525400725633 /* NetworkConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA9631199B525400725633 /* NetworkConstants.lua */; };
|
||||
15AA9639199B525400725633 /* NetworkConstants.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15AA9631199B525400725633 /* NetworkConstants.lua */; };
|
||||
15AA9648199B6D4600725633 /* lua_debugger.c in Sources */ = {isa = PBXBuildFile; fileRef = 15AA9646199B6D4600725633 /* lua_debugger.c */; };
|
||||
15AA9649199B6D4600725633 /* lua_debugger.c in Sources */ = {isa = PBXBuildFile; fileRef = 15AA9646199B6D4600725633 /* lua_debugger.c */; };
|
||||
15D1FDF81998714100302043 /* bitExtend.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15D1FDEA1998714100302043 /* bitExtend.lua */; };
|
||||
15D1FDF91998714100302043 /* bitExtend.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15D1FDEA1998714100302043 /* bitExtend.lua */; };
|
||||
15D1FDFA1998714100302043 /* Cocos2d.lua in Resources */ = {isa = PBXBuildFile; fileRef = 15D1FDEB1998714100302043 /* Cocos2d.lua */; };
|
||||
|
@ -333,20 +365,6 @@
|
|||
remoteGlobalIDString = 15EFA616198B2DAA000C57D3;
|
||||
remoteInfo = "libluacocos2d iOS";
|
||||
};
|
||||
15427CDB198F223300DC375D /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = 15EFA523198B2D13000C57D3;
|
||||
remoteInfo = "libluacocosdenshion iOS";
|
||||
};
|
||||
15427CDD198F223300DC375D /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = 15EFA59E198B2DAA000C57D3;
|
||||
remoteInfo = "libluacocos2d iOS";
|
||||
};
|
||||
15427CE4198F23B300DC375D /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */;
|
||||
|
@ -361,20 +379,6 @@
|
|||
remoteGlobalIDString = B2DB498D197686CB00411E16;
|
||||
remoteInfo = "libnetwork Mac";
|
||||
};
|
||||
15427CE8198F244500DC375D /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = 15C1C255198748D200A46ACC;
|
||||
remoteInfo = "libluacocos2d Mac";
|
||||
};
|
||||
15427CEA198F246A00DC375D /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = C03781AE18BF654500FE4F13 /* cocos2d_lua_bindings.xcodeproj */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = 15C1BEEE19865A0600A46ACC;
|
||||
remoteInfo = "libluacocosdenshion Mac";
|
||||
};
|
||||
15A8A4161834BDA200142BE0 /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */;
|
||||
|
@ -479,6 +483,22 @@
|
|||
15427CE2198F237300DC375D /* lua_module_register.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = lua_module_register.h; path = ../Classes/lua_module_register.h; sourceTree = "<group>"; };
|
||||
15A8A4031834BDA200142BE0 /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = "../../cocos2d-x/build/cocos2d_libs.xcodeproj"; sourceTree = "<group>"; };
|
||||
15A8A4871834C90E00142BE0 /* libcurl.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libcurl.dylib; path = usr/lib/libcurl.dylib; sourceTree = SDKROOT; };
|
||||
15AA7D48199B51F000725633 /* ftp.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = ftp.lua; path = "../../cocos2d-x/external/lua/luasocket/ftp.lua"; sourceTree = "<group>"; };
|
||||
15AA7D49199B51F000725633 /* headers.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = headers.lua; path = "../../cocos2d-x/external/lua/luasocket/headers.lua"; sourceTree = "<group>"; };
|
||||
15AA7D4A199B51F000725633 /* http.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = http.lua; path = "../../cocos2d-x/external/lua/luasocket/http.lua"; sourceTree = "<group>"; };
|
||||
15AA7D4B199B51F000725633 /* ltn12.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = ltn12.lua; path = "../../cocos2d-x/external/lua/luasocket/ltn12.lua"; sourceTree = "<group>"; };
|
||||
15AA7D4C199B51F000725633 /* mbox.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = mbox.lua; path = "../../cocos2d-x/external/lua/luasocket/mbox.lua"; sourceTree = "<group>"; };
|
||||
15AA7D4D199B51F000725633 /* mime.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = mime.lua; path = "../../cocos2d-x/external/lua/luasocket/mime.lua"; sourceTree = "<group>"; };
|
||||
15AA7D4E199B51F000725633 /* smtp.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = smtp.lua; path = "../../cocos2d-x/external/lua/luasocket/smtp.lua"; sourceTree = "<group>"; };
|
||||
15AA7D4F199B51F000725633 /* socket.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = socket.lua; path = "../../cocos2d-x/external/lua/luasocket/socket.lua"; sourceTree = "<group>"; };
|
||||
15AA7D50199B51F000725633 /* tp.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = tp.lua; path = "../../cocos2d-x/external/lua/luasocket/tp.lua"; sourceTree = "<group>"; };
|
||||
15AA7D51199B51F000725633 /* url.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = url.lua; path = "../../cocos2d-x/external/lua/luasocket/url.lua"; sourceTree = "<group>"; };
|
||||
15AA962E199B525400725633 /* DeprecatedNetworkClass.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedNetworkClass.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/network/DeprecatedNetworkClass.lua"; sourceTree = "<group>"; };
|
||||
15AA962F199B525400725633 /* DeprecatedNetworkEnum.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedNetworkEnum.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/network/DeprecatedNetworkEnum.lua"; sourceTree = "<group>"; };
|
||||
15AA9630199B525400725633 /* DeprecatedNetworkFunc.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = DeprecatedNetworkFunc.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/network/DeprecatedNetworkFunc.lua"; sourceTree = "<group>"; };
|
||||
15AA9631199B525400725633 /* NetworkConstants.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = NetworkConstants.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/network/NetworkConstants.lua"; sourceTree = "<group>"; };
|
||||
15AA9646199B6D4600725633 /* lua_debugger.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = lua_debugger.c; sourceTree = "<group>"; };
|
||||
15AA9647199B6D4600725633 /* lua_debugger.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = lua_debugger.h; sourceTree = "<group>"; };
|
||||
15C1568D1683131500D239F2 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = "../../cocos2d-x/cocos2dx/platform/third_party/ios/libraries/libcurl.a"; sourceTree = "<group>"; };
|
||||
15D1FDEA1998714100302043 /* bitExtend.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = bitExtend.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/cocos2d/bitExtend.lua"; sourceTree = "<group>"; };
|
||||
15D1FDEB1998714100302043 /* Cocos2d.lua */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = Cocos2d.lua; path = "../../cocos2d-x/cocos/scripting/lua-bindings/script/cocos2d/Cocos2d.lua"; sourceTree = "<group>"; };
|
||||
|
@ -611,6 +631,7 @@
|
|||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
15AA7D47199B514300725633 /* libluanetwork Mac.a in Frameworks */,
|
||||
15427CF0198F24C400DC375D /* libnetwork Mac.a in Frameworks */,
|
||||
15427CEF198F24BD00DC375D /* libcocosdenshion Mac.a in Frameworks */,
|
||||
15427CEE198F24AF00DC375D /* libcocos2d Mac.a in Frameworks */,
|
||||
|
@ -634,6 +655,7 @@
|
|||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
15AA7D36199B513100725633 /* libluanetwork iOS.a in Frameworks */,
|
||||
15427CE3198F23A100DC375D /* libnetwork iOS.a in Frameworks */,
|
||||
15427CD5198F222200DC375D /* libluacocos2d iOS.a in Frameworks */,
|
||||
15427CD6198F222200DC375D /* libluacocosdenshion iOS.a in Frameworks */,
|
||||
|
@ -686,6 +708,20 @@
|
|||
1A0227A417A3AA1A00B867AD /* Lua Common */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
15AA962E199B525400725633 /* DeprecatedNetworkClass.lua */,
|
||||
15AA962F199B525400725633 /* DeprecatedNetworkEnum.lua */,
|
||||
15AA9630199B525400725633 /* DeprecatedNetworkFunc.lua */,
|
||||
15AA9631199B525400725633 /* NetworkConstants.lua */,
|
||||
15AA7D48199B51F000725633 /* ftp.lua */,
|
||||
15AA7D49199B51F000725633 /* headers.lua */,
|
||||
15AA7D4A199B51F000725633 /* http.lua */,
|
||||
15AA7D4B199B51F000725633 /* ltn12.lua */,
|
||||
15AA7D4C199B51F000725633 /* mbox.lua */,
|
||||
15AA7D4D199B51F000725633 /* mime.lua */,
|
||||
15AA7D4E199B51F000725633 /* smtp.lua */,
|
||||
15AA7D4F199B51F000725633 /* socket.lua */,
|
||||
15AA7D50199B51F000725633 /* tp.lua */,
|
||||
15AA7D51199B51F000725633 /* url.lua */,
|
||||
15D1FE141998715500302043 /* AudioEngine.lua */,
|
||||
15D1FE151998715500302043 /* DeprecatedCocosDenshionClass.lua */,
|
||||
15D1FE161998715500302043 /* DeprecatedCocosDenshionFunc.lua */,
|
||||
|
@ -839,6 +875,8 @@
|
|||
C00FD4891938512100C6382D /* runtime */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
15AA9646199B6D4600725633 /* lua_debugger.c */,
|
||||
15AA9647199B6D4600725633 /* lua_debugger.h */,
|
||||
3EB5152E1952865D006966AA /* protobuf-lite */,
|
||||
3EB5152A19528284006966AA /* Protos.pb.cc */,
|
||||
3EB5152B19528284006966AA /* Protos.pb.h */,
|
||||
|
@ -970,8 +1008,6 @@
|
|||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
15427CEB198F246A00DC375D /* PBXTargetDependency */,
|
||||
15427CE9198F244500DC375D /* PBXTargetDependency */,
|
||||
15427CE7198F23E600DC375D /* PBXTargetDependency */,
|
||||
C0A2F04118975FF80072A7AB /* PBXTargetDependency */,
|
||||
C0A2F03D18975FEB0072A7AB /* PBXTargetDependency */,
|
||||
|
@ -996,8 +1032,6 @@
|
|||
15D1F30B1994BBE500302043 /* PBXTargetDependency */,
|
||||
15D1F3091994BBCA00302043 /* PBXTargetDependency */,
|
||||
15427CE5198F23B300DC375D /* PBXTargetDependency */,
|
||||
15427CDC198F223300DC375D /* PBXTargetDependency */,
|
||||
15427CDE198F223300DC375D /* PBXTargetDependency */,
|
||||
);
|
||||
name = "HelloLua iOS";
|
||||
productName = HelloLua;
|
||||
|
@ -1305,6 +1339,10 @@
|
|||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
15AA7D5F199B51F000725633 /* smtp.lua in Resources */,
|
||||
15AA7D63199B51F000725633 /* tp.lua in Resources */,
|
||||
15AA7D5D199B51F000725633 /* mime.lua in Resources */,
|
||||
15AA9635199B525400725633 /* DeprecatedNetworkEnum.lua in Resources */,
|
||||
C03781BA18BF655400FE4F13 /* res in Resources */,
|
||||
15D1FE131998714100302043 /* OpenglConstants.lua in Resources */,
|
||||
15D1FE071998714100302043 /* DrawPrimitives.lua in Resources */,
|
||||
|
@ -1312,21 +1350,31 @@
|
|||
15D1FE111998714100302043 /* Opengl.lua in Resources */,
|
||||
C07828F918B4D72E00BD2287 /* MainMenu.xib in Resources */,
|
||||
15D1FE0D1998714100302043 /* luaj.lua in Resources */,
|
||||
15AA7D65199B51F000725633 /* url.lua in Resources */,
|
||||
15AA7D5B199B51F000725633 /* mbox.lua in Resources */,
|
||||
15D1FE051998714100302043 /* DeprecatedOpenglEnum.lua in Resources */,
|
||||
5023817617EBBE3400990C9B /* Icon.icns in Resources */,
|
||||
15D1FE031998714100302043 /* DeprecatedCocos2dFunc.lua in Resources */,
|
||||
15AA7D59199B51F000725633 /* ltn12.lua in Resources */,
|
||||
15D1FDFF1998714100302043 /* DeprecatedCocos2dClass.lua in Resources */,
|
||||
15AA7D53199B51F000725633 /* ftp.lua in Resources */,
|
||||
15D1FE1C1998715500302043 /* DeprecatedCocosDenshionFunc.lua in Resources */,
|
||||
15D1FDF91998714100302043 /* bitExtend.lua in Resources */,
|
||||
15D1FE011998714100302043 /* DeprecatedCocos2dEnum.lua in Resources */,
|
||||
15D1FE0B1998714100302043 /* json.lua in Resources */,
|
||||
15AA9639199B525400725633 /* NetworkConstants.lua in Resources */,
|
||||
15D1FE091998714100302043 /* extern.lua in Resources */,
|
||||
15AA7D61199B51F000725633 /* socket.lua in Resources */,
|
||||
15AA9637199B525400725633 /* DeprecatedNetworkFunc.lua in Resources */,
|
||||
15D1FE1A1998715500302043 /* DeprecatedCocosDenshionClass.lua in Resources */,
|
||||
C05D1C131923449100B808A4 /* config.json in Resources */,
|
||||
15AA9633199B525400725633 /* DeprecatedNetworkClass.lua in Resources */,
|
||||
15D1FE0F1998714100302043 /* luaoc.lua in Resources */,
|
||||
15AA7D57199B51F000725633 /* http.lua in Resources */,
|
||||
15D1FDFD1998714100302043 /* Cocos2dConstants.lua in Resources */,
|
||||
15D1FDFB1998714100302043 /* Cocos2d.lua in Resources */,
|
||||
15D1FE181998715500302043 /* AudioEngine.lua in Resources */,
|
||||
15AA7D55199B51F000725633 /* headers.lua in Resources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
|
@ -1335,13 +1383,19 @@
|
|||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
15D1FDF81998714100302043 /* bitExtend.lua in Resources */,
|
||||
15AA7D52199B51F000725633 /* ftp.lua in Resources */,
|
||||
15AA7D58199B51F000725633 /* ltn12.lua in Resources */,
|
||||
15AA7D5A199B51F000725633 /* mbox.lua in Resources */,
|
||||
15A8A4491834C64F00142BE0 /* Icon-114.png in Resources */,
|
||||
5023811D17EBBCAC00990C9B /* Icon-120.png in Resources */,
|
||||
5091733B17ECE17A00D62437 /* Icon-100.png in Resources */,
|
||||
15AA7D54199B51F000725633 /* headers.lua in Resources */,
|
||||
5023811B17EBBCAC00990C9B /* Default@2x.png in Resources */,
|
||||
15D1FDFE1998714100302043 /* DeprecatedCocos2dClass.lua in Resources */,
|
||||
5091733617ECE17A00D62437 /* Icon-29.png in Resources */,
|
||||
15AA7D60199B51F000725633 /* socket.lua in Resources */,
|
||||
15D1FE061998714100302043 /* DrawPrimitives.lua in Resources */,
|
||||
15AA7D56199B51F000725633 /* http.lua in Resources */,
|
||||
15D1FE191998715500302043 /* DeprecatedCocosDenshionClass.lua in Resources */,
|
||||
15D1FDFA1998714100302043 /* Cocos2d.lua in Resources */,
|
||||
5023811917EBBCAC00990C9B /* Default-568h@2x.png in Resources */,
|
||||
|
@ -1353,20 +1407,28 @@
|
|||
5023812017EBBCAC00990C9B /* Icon-57.png in Resources */,
|
||||
15D1FE001998714100302043 /* DeprecatedCocos2dEnum.lua in Resources */,
|
||||
C03781B918BF655400FE4F13 /* res in Resources */,
|
||||
15AA9634199B525400725633 /* DeprecatedNetworkEnum.lua in Resources */,
|
||||
15D1FE1B1998715500302043 /* DeprecatedCocosDenshionFunc.lua in Resources */,
|
||||
5023812217EBBCAC00990C9B /* Icon-76.png in Resources */,
|
||||
5091733A17ECE17A00D62437 /* Icon-80.png in Resources */,
|
||||
15D1FE0A1998714100302043 /* json.lua in Resources */,
|
||||
15AA7D5C199B51F000725633 /* mime.lua in Resources */,
|
||||
15D1FE041998714100302043 /* DeprecatedOpenglEnum.lua in Resources */,
|
||||
5091733717ECE17A00D62437 /* Icon-40.png in Resources */,
|
||||
5023811E17EBBCAC00990C9B /* Icon-144.png in Resources */,
|
||||
5023811A17EBBCAC00990C9B /* Default.png in Resources */,
|
||||
15AA7D5E199B51F000725633 /* smtp.lua in Resources */,
|
||||
15AA9632199B525400725633 /* DeprecatedNetworkClass.lua in Resources */,
|
||||
15D1FE171998715500302043 /* AudioEngine.lua in Resources */,
|
||||
C03781BB18BF655400FE4F13 /* src in Resources */,
|
||||
15AA9636199B525400725633 /* DeprecatedNetworkFunc.lua in Resources */,
|
||||
5091733817ECE17A00D62437 /* Icon-50.png in Resources */,
|
||||
15D1FE081998714100302043 /* extern.lua in Resources */,
|
||||
5023812117EBBCAC00990C9B /* Icon-72.png in Resources */,
|
||||
15AA7D62199B51F000725633 /* tp.lua in Resources */,
|
||||
15D1FDFC1998714100302043 /* Cocos2dConstants.lua in Resources */,
|
||||
15AA9638199B525400725633 /* NetworkConstants.lua in Resources */,
|
||||
15AA7D64199B51F000725633 /* url.lua in Resources */,
|
||||
C05D1C121923449100B808A4 /* config.json in Resources */,
|
||||
15D1FE0E1998714100302043 /* luaoc.lua in Resources */,
|
||||
15D1FE101998714100302043 /* Opengl.lua in Resources */,
|
||||
|
@ -1416,6 +1478,7 @@
|
|||
C033B51D191B337200D06937 /* VisibleRect.cpp in Sources */,
|
||||
C00FD49D1938512100C6382D /* Shine_png.cpp in Sources */,
|
||||
3EB515691952865D006966AA /* common.cc in Sources */,
|
||||
15AA9649199B6D4600725633 /* lua_debugger.c in Sources */,
|
||||
3EB515651952865D006966AA /* repeated_field.cc in Sources */,
|
||||
3EB5156B1952865D006966AA /* once.cc in Sources */,
|
||||
3EB5155D1952865D006966AA /* coded_stream.cc in Sources */,
|
||||
|
@ -1441,6 +1504,7 @@
|
|||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
15AA9648199B6D4600725633 /* lua_debugger.c in Sources */,
|
||||
3EB5156A1952865D006966AA /* once.cc in Sources */,
|
||||
C00FD4981938512100C6382D /* Portrait_png.cpp in Sources */,
|
||||
5023812517EBBCAC00990C9B /* RootViewController.mm in Sources */,
|
||||
|
@ -1473,16 +1537,6 @@
|
|||
/* End PBXSourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXTargetDependency section */
|
||||
15427CDC198F223300DC375D /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
name = "libluacocosdenshion iOS";
|
||||
targetProxy = 15427CDB198F223300DC375D /* PBXContainerItemProxy */;
|
||||
};
|
||||
15427CDE198F223300DC375D /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
name = "libluacocos2d iOS";
|
||||
targetProxy = 15427CDD198F223300DC375D /* PBXContainerItemProxy */;
|
||||
};
|
||||
15427CE5198F23B300DC375D /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
name = "libnetwork iOS";
|
||||
|
@ -1493,16 +1547,6 @@
|
|||
name = "libnetwork Mac";
|
||||
targetProxy = 15427CE6198F23E600DC375D /* PBXContainerItemProxy */;
|
||||
};
|
||||
15427CE9198F244500DC375D /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
name = "libluacocos2d Mac";
|
||||
targetProxy = 15427CE8198F244500DC375D /* PBXContainerItemProxy */;
|
||||
};
|
||||
15427CEB198F246A00DC375D /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
name = "libluacocosdenshion Mac";
|
||||
targetProxy = 15427CEA198F246A00DC375D /* PBXContainerItemProxy */;
|
||||
};
|
||||
15D1F3091994BBCA00302043 /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
name = "libcocos2d iOS";
|
||||
|
|
|
@ -20,6 +20,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libluacocos2d", "..\..\coco
|
|||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libluacocosdenshion", "..\..\cocos2d-x\cocos\scripting\lua-bindings\proj.win32\libluacocosdenshion.vcxproj", "{46A7D57A-7F25-4F52-823B-FFAC4FF3A624}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libluanetwork", "..\..\cocos2d-x\cocos\scripting\lua-bindings\proj.win32\libluanetwork.vcxproj", "{65E52F4B-703F-419E-AD67-926241A10042}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
|
@ -54,6 +56,10 @@ Global
|
|||
{46A7D57A-7F25-4F52-823B-FFAC4FF3A624}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{46A7D57A-7F25-4F52-823B-FFAC4FF3A624}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{46A7D57A-7F25-4F52-823B-FFAC4FF3A624}.Release|Win32.Build.0 = Release|Win32
|
||||
{65E52F4B-703F-419E-AD67-926241A10042}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{65E52F4B-703F-419E-AD67-926241A10042}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{65E52F4B-703F-419E-AD67-926241A10042}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{65E52F4B-703F-419E-AD67-926241A10042}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
|
|
@ -109,8 +109,10 @@
|
|||
</Midl>
|
||||
<PreBuildEvent>
|
||||
<Command>if not exist "$(LocalDebuggerWorkingDirectory)" mkdir "$(LocalDebuggerWorkingDirectory)"
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\cocos2d" "$(LocalDebuggerWorkingDirectory)" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\cocosdenshion" "$(LocalDebuggerWorkingDirectory)" /e /Y</Command>
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\cocos2d\*.lua" "$(LocalDebuggerWorkingDirectory)" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\network\*.lua" "$(LocalDebuggerWorkingDirectory)" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\external\lua\luasocket\*.lua" "$(LocalDebuggerWorkingDirectory)" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\cocosdenshion\*.lua" "$(LocalDebuggerWorkingDirectory)" /e /Y</Command>
|
||||
<Message>copy files</Message>
|
||||
</PreBuildEvent>
|
||||
<PreLinkEvent>
|
||||
|
@ -170,8 +172,9 @@ xcopy "$(ProjectDir)..\..\..\src" "$(LocalDebuggerWorkingDirectory)\src" /e /Y
|
|||
xcopy "$(ProjectDir)..\..\..\res" "$(LocalDebuggerWorkingDirectory)\res" /e /Y
|
||||
copy "$(ProjectDir)..\..\..\config.json" "$(LocalDebuggerWorkingDirectory)\config.json" /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\external\lua\luasocket\*.lua" "$(LocalDebuggerWorkingDirectory)" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\cocos2d" "$(LocalDebuggerWorkingDirectory)" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\cocosdenshion" "$(LocalDebuggerWorkingDirectory)" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\network\*.lua" "$(LocalDebuggerWorkingDirectory)" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\cocos2d\*.lua" "$(LocalDebuggerWorkingDirectory)" /e /Y
|
||||
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\cocosdenshion\*.lua" "$(LocalDebuggerWorkingDirectory)" /e /Y
|
||||
</Command>
|
||||
<Message>copy files</Message>
|
||||
</PreBuildEvent>
|
||||
|
@ -204,6 +207,7 @@ xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\cocosden
|
|||
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\stubs\type_traits.h" />
|
||||
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\wire_format_lite.h" />
|
||||
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\wire_format_lite_inl.h" />
|
||||
<ClInclude Include="..\Classes\runtime\lua_debugger.h" />
|
||||
<ClInclude Include="..\Classes\runtime\Protos.pb.h" />
|
||||
<ClInclude Include="..\Classes\runtime\ResData.h" />
|
||||
<ClInclude Include="..\Classes\runtime\Runtime.h" />
|
||||
|
@ -228,6 +232,7 @@ xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\cocosden
|
|||
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\stubs\stringprintf.cc" />
|
||||
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\wire_format_lite.cc" />
|
||||
<ClCompile Include="..\Classes\runtime\Landscape_png.cpp" />
|
||||
<ClCompile Include="..\Classes\runtime\lua_debugger.c" />
|
||||
<ClCompile Include="..\Classes\runtime\PlayDisable_png.cpp" />
|
||||
<ClCompile Include="..\Classes\runtime\PlayEnable_png.cpp" />
|
||||
<ClCompile Include="..\Classes\runtime\Portrait_png.cpp" />
|
||||
|
@ -246,20 +251,14 @@ xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\cocosden
|
|||
<Image Include="res\game.ico" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\cocos2d-x\cocos\2d\libcocos2d.vcxproj">
|
||||
<Project>{98a51ba8-fc3a-415b-ac8f-8c7bd464e93e}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\cocos2d-x\cocos\audio\proj.win32\libcocosdenshion.vcxproj">
|
||||
<Project>{f8edd7fa-9a51-4e80-baeb-860825d2eac6}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\cocos2d-x\cocos\scripting\lua-bindings\proj.win32\libluacocos2d.vcxproj">
|
||||
<Project>{9f2d6ce6-c893-4400-b50c-6db70cc2562f}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\cocos2d-x\cocos\scripting\lua-bindings\proj.win32\libluacocosdenshion.vcxproj">
|
||||
<Project>{46a7d57a-7f25-4f52-823b-ffac4ff3a624}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\cocos2d-x\external\chipmunk\proj.win32\chipmunk.vcxproj">
|
||||
<Project>{207bc7a9-ccf1-4f2f-a04d-45f72242ae25}</Project>
|
||||
<ProjectReference Include="..\..\cocos2d-x\cocos\scripting\lua-bindings\proj.win32\libluanetwork.vcxproj">
|
||||
<Project>{65e52f4b-703f-419e-ad67-926241a10042}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
|
|
|
@ -106,6 +106,9 @@
|
|||
<ClInclude Include="..\Classes\protobuf-lite\google\protobuf\wire_format_lite_inl.h">
|
||||
<Filter>Classes\runtime\protobuf-lite</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\Classes\runtime\lua_debugger.h">
|
||||
<Filter>Classes\runtime</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\Classes\AppDelegate.cpp">
|
||||
|
@ -183,6 +186,9 @@
|
|||
<ClCompile Include="..\Classes\protobuf-lite\google\protobuf\wire_format_lite.cc">
|
||||
<Filter>Classes\runtime\protobuf-lite</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\Classes\runtime\lua_debugger.c">
|
||||
<Filter>Classes\runtime</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="game.rc">
|
||||
|
|
|
@ -22,6 +22,10 @@
|
|||
"from": "../../cocos2d-x/cocos/scripting/lua-bindings/script/cocosdenshion",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../cocos2d-x/cocos/scripting/lua-bindings/script/network",
|
||||
"to": ""
|
||||
},
|
||||
{
|
||||
"from": "../../cocos2d-x/external/lua/luasocket",
|
||||
"to": "",
|
||||
|
|
|
@ -114,9 +114,8 @@ xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\network" "$(
|
|||
xcopy "$(ProjectDir)..\..\..\..\external\lua\luasocket\*.lua" "$(ProjectDir)..\..\" /e /Y</Command>
|
||||
</PreBuildEvent>
|
||||
<PreLinkEvent>
|
||||
<Command>if not exist "$(OutDir)" mkdir "$(OutDir)"
|
||||
xcopy /Y /Q "$(ProjectDir)..\..\..\..\external\websockets\prebuilt\win32\*.*" "$(OutDir)"
|
||||
</Command>
|
||||
<Command>
|
||||
</Command>
|
||||
</PreLinkEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
|
@ -159,9 +158,8 @@ xcopy /Y /Q "$(ProjectDir)..\..\..\..\external\websockets\prebuilt\win32\*.*" "$
|
|||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
<PreLinkEvent>
|
||||
<Command>if not exist "$(OutDir)" mkdir "$(OutDir)"
|
||||
xcopy /Y /Q "$(ProjectDir)..\..\..\..\external\websockets\prebuilt\win32\*.*" "$(OutDir)"
|
||||
</Command>
|
||||
<Command>
|
||||
</Command>
|
||||
</PreLinkEvent>
|
||||
<PreBuildEvent>
|
||||
<Command>xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script\cocos2d" "$(ProjectDir)..\..\" /e /Y
|
||||
|
|
|
@ -13,8 +13,6 @@ LOCAL_SRC_FILES += main.cpp \
|
|||
|
||||
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../Classes
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := curl_static_prebuilt
|
||||
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES := cocos2d_lua_static
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_lua_static
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES += network_lua_static
|
||||
|
|
|
@ -120,8 +120,8 @@ xcopy "$(ProjectDir)..\..\..\cpp-tests\Resources" "$(ProjectDir)..\..\res" /e /Y
|
|||
<Message>copy files</Message>
|
||||
</PreBuildEvent>
|
||||
<PreLinkEvent>
|
||||
<Command>if not exist "$(OutDir)" mkdir "$(OutDir)"
|
||||
xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)"</Command>
|
||||
<Command>
|
||||
</Command>
|
||||
</PreLinkEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
|
@ -175,8 +175,8 @@ xcopy "$(ProjectDir)..\..\..\cpp-tests\Resources" "$(ProjectDir)..\..\res" /e /Y
|
|||
<Message>copy files</Message>
|
||||
</PreBuildEvent>
|
||||
<PreLinkEvent>
|
||||
<Command>if not exist "$(OutDir)" mkdir "$(OutDir)"
|
||||
xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)"</Command>
|
||||
<Command>
|
||||
</Command>
|
||||
</PreLinkEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
|
|
Loading…
Reference in New Issue