mirror of https://github.com/axmolengine/axmol.git
[win32] fixed #620: change the output of lua to a lib
This commit is contained in:
parent
0c495628ea
commit
3e080476f3
|
@ -49,8 +49,8 @@
|
|||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="..\Classes;"$(SolutionDir)\lua\cocos2dx_support";"$(SolutionDir)\lua\tolua";"$(SolutionDir)\lua\src";.;"$(SolutionDir)\cocos2dx";"$(SolutionDir)\cocos2dx\include";"$(SolutionDir)\cocos2dx\platform";"$(SolutionDir)\cocos2dx\platform\third_party\win32\OGLES";"$(SolutionDir)\CocosDenshion\Include""
|
||||
PreprocessorDefinitions="WIN32;_WINDOWS;STRICT;_DEBUG;COCOS2D_DEBUG=1;ENABLE_LUA"
|
||||
AdditionalIncludeDirectories="..\Classes;"$(SolutionDir)\lua\cocos2dx_support";"$(SolutionDir)\lua\lua";"$(SolutionDir)\lua\tolua";"$(SolutionDir)\lua\src";.;"$(SolutionDir)\cocos2dx";"$(SolutionDir)\cocos2dx\include";"$(SolutionDir)\cocos2dx\platform";"$(SolutionDir)\cocos2dx\platform\third_party\win32\OGLES";"$(SolutionDir)\CocosDenshion\Include""
|
||||
PreprocessorDefinitions="WIN32;_WINDOWS;STRICT;_DEBUG;COCOS2D_DEBUG=1"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
|
@ -158,7 +158,7 @@
|
|||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="libcocos2d.lib libgles_cm.lib libCocosDenshion.lib"
|
||||
AdditionalDependencies="libgles_cm.lib libCocosDenshion.lib"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="$(OutDir)"
|
||||
SubSystem="2"
|
||||
|
@ -201,6 +201,34 @@
|
|||
RelativePath="..\Classes\AppDelegate.h"
|
||||
>
|
||||
</File>
|
||||
<Filter
|
||||
Name="cocos2dx_support"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\..\lua\cocos2dx_support\LuaCocos2d.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\lua\cocos2dx_support\LuaCocos2d.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\lua\cocos2dx_support\LuaEngine.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\lua\cocos2dx_support\LuaEngine.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\lua\cocos2dx_support\LuaEngineImpl.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\lua\cocos2dx_support\LuaEngineImpl.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="win32"
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
</Midl>
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>..\Classes;$(SolutionDir)\lua\cocos2dx_support;$(SolutionDir)\lua\tolua;$(SolutionDir)\lua\src;.;$(SolutionDir)\cocos2dx;$(SolutionDir)\cocos2dx\include;$(SolutionDir)\cocos2dx\platform;$(SolutionDir)\cocos2dx\platform\third_party\win32\OGLES;$(SolutionDir)\CocosDenshion\Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories>..\Classes;$(SolutionDir)\lua\cocos2dx_support;$(SolutionDir)\lua\lua;$(SolutionDir)\lua\tolua;.;$(SolutionDir)\cocos2dx;$(SolutionDir)\cocos2dx\include;$(SolutionDir)\cocos2dx\platform;$(SolutionDir)\cocos2dx\platform\third_party\win32\OGLES;$(SolutionDir)\CocosDenshion\Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;STRICT;_DEBUG;COCOS2D_DEBUG=1;ENABLE_LUA;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
|
@ -102,7 +102,7 @@
|
|||
<ProxyFileName>HelloLua_p.c</ProxyFileName>
|
||||
</Midl>
|
||||
<ClCompile>
|
||||
<AdditionalIncludeDirectories>..\Classes;$(SolutionDir)\lua\cocos2dx_support;$(SolutionDir)\lua\tolua;$(SolutionDir)\lua\src;.;$(SolutionDir)\cocos2dx;$(SolutionDir)\cocos2dx\include;$(SolutionDir)\cocos2dx\platform;$(SolutionDir)\cocos2dx\platform\third_party\win32\OGLES;$(SolutionDir)\CocosDenshion\Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories>..\Classes;$(SolutionDir)\lua\cocos2dx_support;$(SolutionDir)\lua\lua;$(SolutionDir)\lua\tolua;$(SolutionDir)\lua\src;.;$(SolutionDir)\cocos2dx;$(SolutionDir)\cocos2dx\include;$(SolutionDir)\cocos2dx\platform;$(SolutionDir)\cocos2dx\platform\third_party\win32\OGLES;$(SolutionDir)\CocosDenshion\Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;STRICT;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ExceptionHandling>
|
||||
</ExceptionHandling>
|
||||
|
@ -127,10 +127,16 @@
|
|||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\lua\cocos2dx_support\LuaCocos2d.cpp" />
|
||||
<ClCompile Include="..\..\lua\cocos2dx_support\LuaEngine.cpp" />
|
||||
<ClCompile Include="..\..\lua\cocos2dx_support\LuaEngineImpl.cpp" />
|
||||
<ClCompile Include="..\Classes\AppDelegate.cpp" />
|
||||
<ClCompile Include="main.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\lua\cocos2dx_support\LuaCocos2d.h" />
|
||||
<ClInclude Include="..\..\lua\cocos2dx_support\LuaEngine.h" />
|
||||
<ClInclude Include="..\..\lua\cocos2dx_support\LuaEngineImpl.h" />
|
||||
<ClInclude Include="..\Classes\AppDelegate.h" />
|
||||
<ClInclude Include="main.h" />
|
||||
</ItemGroup>
|
||||
|
|
|
@ -7,6 +7,9 @@
|
|||
<Filter Include="win32">
|
||||
<UniqueIdentifier>{ce400533-5bf6-41a7-8d1a-59e2de196b8e}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Classes\cocos2dx_support">
|
||||
<UniqueIdentifier>{0421f3bc-da65-4d23-900a-f62683dfa470}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\Classes\AppDelegate.cpp">
|
||||
|
@ -15,6 +18,15 @@
|
|||
<ClCompile Include="main.cpp">
|
||||
<Filter>win32</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\lua\cocos2dx_support\LuaCocos2d.cpp">
|
||||
<Filter>Classes\cocos2dx_support</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\lua\cocos2dx_support\LuaEngine.cpp">
|
||||
<Filter>Classes\cocos2dx_support</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\lua\cocos2dx_support\LuaEngineImpl.cpp">
|
||||
<Filter>Classes\cocos2dx_support</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\Classes\AppDelegate.h">
|
||||
|
@ -23,5 +35,14 @@
|
|||
<ClInclude Include="main.h">
|
||||
<Filter>win32</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\lua\cocos2dx_support\LuaCocos2d.h">
|
||||
<Filter>Classes\cocos2dx_support</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\lua\cocos2dx_support\LuaEngine.h">
|
||||
<Filter>Classes\cocos2dx_support</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\lua\cocos2dx_support\LuaEngineImpl.h">
|
||||
<Filter>Classes\cocos2dx_support</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -29,9 +29,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HelloLua", "HelloLua\win32\
|
|||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "liblua", "lua\proj.win32\liblua.vcproj", "{DDC3E27F-004D-4DD4-9DD3-931A013D2159}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
|
|
@ -16,9 +16,6 @@ EndProject
|
|||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HelloLua", "HelloLua\win32\HelloLua.win32.vcxproj", "{13E55395-94A2-4CD9-BFC2-1A051F80C17D}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "liblua", "lua\proj.win32\liblua.vcxproj", "{DDC3E27F-004D-4DD4-9DD3-931A013D2159}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
|
|
@ -44,6 +44,8 @@ NS_CC_BEGIN;
|
|||
class CC_DLL CCScriptEngineProtocol
|
||||
{
|
||||
public:
|
||||
CCScriptEngineProtocol();
|
||||
|
||||
// functions for excute touch event
|
||||
virtual bool executeTouchEvent(const char *pszFuncName, CCTouch *pTouch) = 0;
|
||||
virtual bool executeTouchesEvent(const char *pszFuncName, CCSet *pTouches) = 0;
|
||||
|
|
|
@ -195,10 +195,10 @@ xcopy /Y /Q "$(SolutionDir)cocos2dx\platform\third_party\win32\libraries\*.*" "$
|
|||
<ClCompile Include="..\support\zip_support\ioapi.cpp" />
|
||||
<ClCompile Include="..\support\zip_support\unzip.cpp" />
|
||||
<ClCompile Include="..\support\zip_support\ZipUtils.cpp" />
|
||||
<ClCompile Include="..\textures\CCPVRTexture.cpp" />
|
||||
<ClCompile Include="..\textures\CCTexture2D.cpp" />
|
||||
<ClCompile Include="..\textures\CCTextureAtlas.cpp" />
|
||||
<ClCompile Include="..\textures\CCTextureCache.cpp" />
|
||||
<ClCompile Include="..\textures\CCTexturePVR.cpp" />
|
||||
<ClCompile Include="..\tileMap_parallax_nodes\CCParallaxNode.cpp" />
|
||||
<ClCompile Include="..\tileMap_parallax_nodes\CCTileMapAtlas.cpp" />
|
||||
<ClCompile Include="..\tileMap_parallax_nodes\CCTMXLayer.cpp" />
|
||||
|
@ -291,6 +291,7 @@ xcopy /Y /Q "$(SolutionDir)cocos2dx\platform\third_party\win32\libraries\*.*" "$
|
|||
<ClInclude Include="..\include\CCTexture2D.h" />
|
||||
<ClInclude Include="..\include\CCTextureAtlas.h" />
|
||||
<ClInclude Include="..\include\CCTextureCache.h" />
|
||||
<ClInclude Include="..\include\CCTexturePVR.h" />
|
||||
<ClInclude Include="..\include\CCTileMapAtlas.h" />
|
||||
<ClInclude Include="..\include\CCTMXLayer.h" />
|
||||
<ClInclude Include="..\include\CCTMXObjectGroup.h" />
|
||||
|
|
|
@ -276,9 +276,6 @@
|
|||
<ClCompile Include="..\support\zip_support\ZipUtils.cpp">
|
||||
<Filter>support\zip_support</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\textures\CCPVRTexture.cpp">
|
||||
<Filter>textures</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\textures\CCTexture2D.cpp">
|
||||
<Filter>textures</Filter>
|
||||
</ClCompile>
|
||||
|
@ -333,6 +330,9 @@
|
|||
<ClCompile Include="..\CCDrawingPrimitives.cpp" />
|
||||
<ClCompile Include="..\CCScheduler.cpp" />
|
||||
<ClCompile Include="..\cocos2d.cpp" />
|
||||
<ClCompile Include="..\textures\CCTexturePVR.cpp">
|
||||
<Filter>textures</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\cocoa\CCNS.h">
|
||||
|
@ -687,5 +687,8 @@
|
|||
<Filter>touch_dispatcher</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\CCConfiguration.h" />
|
||||
<ClInclude Include="..\include\CCTexturePVR.h">
|
||||
<Filter>include</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -25,6 +25,8 @@ THE SOFTWARE.
|
|||
|
||||
NS_CC_BEGIN;
|
||||
|
||||
CCScriptEngineProtocol::CCScriptEngineProtocol() {}
|
||||
|
||||
CCScriptEngineManager::CCScriptEngineManager()
|
||||
:m_pScriptEngine(NULL)
|
||||
{
|
||||
|
|
|
@ -27,25 +27,9 @@ THE SOFTWARE.
|
|||
#include "CCScriptSupport.h"
|
||||
#include "cocos2d.h"
|
||||
|
||||
#ifdef _WINDOWS
|
||||
|
||||
#undef LUA_DLL
|
||||
|
||||
#if defined(_USRDLL)
|
||||
#define LUA_DLL __declspec(dllexport)
|
||||
#else /* use a DLL library */
|
||||
#define LUA_DLL __declspec(dllimport)
|
||||
#endif
|
||||
|
||||
#else
|
||||
#define LUA_DLL
|
||||
|
||||
#endif // CC_PLATFORM_WIN32
|
||||
|
||||
class LUA_DLL LuaEngine : public cocos2d::CCScriptEngineProtocol
|
||||
class LuaEngine : public cocos2d::CCScriptEngineProtocol
|
||||
{
|
||||
public:
|
||||
|
||||
// functions for excute touch event
|
||||
virtual bool executeTouchEvent(const char *pszFuncName, cocos2d::CCTouch *pTouch);
|
||||
virtual bool executeTouchesEvent(const char *pszFuncName, cocos2d::CCSet *pTouches);
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="$(SolutionDir)$(ConfigurationName).win32"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="2"
|
||||
IntermediateDirectory="$(ConfigurationName).win32"
|
||||
ConfigurationType="4"
|
||||
CharacterSet="1"
|
||||
>
|
||||
<Tool
|
||||
|
@ -41,7 +41,7 @@
|
|||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories=""$(SolutionDir)\lua\tolua";"$(SolutionDir)\lua\lua";"$(SolutionDir)\cocos2dx\platform\third_party\win32\OGLES";"$(SolutionDir)\cocos2dx\platform";"$(SolutionDir)\cocos2dx\include";"$(SolutionDir)\cocos2dx""
|
||||
AdditionalIncludeDirectories=""$(SolutionDir)\lua\tolua";"$(SolutionDir)\lua\lua""
|
||||
PreprocessorDefinitions="WIN32;_WINDOWS;_USRDLL"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
|
@ -63,20 +63,12 @@
|
|||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="libcocos2d.lib"
|
||||
LinkIncremental="2"
|
||||
AdditionalLibraryDirectories=""$(OutDir)""
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="2"
|
||||
TargetMachine="1"
|
||||
Name="VCLibrarianTool"
|
||||
AdditionalLibraryDirectories=""
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
|
@ -86,9 +78,6 @@
|
|||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
|
@ -96,8 +85,8 @@
|
|||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="$(SolutionDir)$(ConfigurationName).win32"
|
||||
IntermediateDirectory="$(ConfigurationName)"
|
||||
ConfigurationType="2"
|
||||
IntermediateDirectory="$(ConfigurationName).win32"
|
||||
ConfigurationType="4"
|
||||
CharacterSet="1"
|
||||
WholeProgramOptimization="1"
|
||||
>
|
||||
|
@ -120,7 +109,7 @@
|
|||
Name="VCCLCompilerTool"
|
||||
Optimization="2"
|
||||
EnableIntrinsicFunctions="true"
|
||||
AdditionalIncludeDirectories=""$(SolutionDir)\lua\tolua";"$(SolutionDir)\lua\lua";"$(SolutionDir)\cocos2dx\platform\third_party\win32\OGLES";"$(SolutionDir)\cocos2dx\platform";"$(SolutionDir)\cocos2dx\include";"$(SolutionDir)\cocos2dx""
|
||||
AdditionalIncludeDirectories=""$(SolutionDir)\lua\tolua";"$(SolutionDir)\lua\lua""
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBLUA_EXPORTS"
|
||||
RuntimeLibrary="2"
|
||||
EnableFunctionLevelLinking="true"
|
||||
|
@ -141,22 +130,12 @@
|
|||
Name="VCPreLinkEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="libcocos2d.lib"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories=""$(OutDir)""
|
||||
GenerateDebugInformation="true"
|
||||
SubSystem="2"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
TargetMachine="1"
|
||||
Name="VCLibrarianTool"
|
||||
AdditionalLibraryDirectories="libcocos2d.lib"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCALinkTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCManifestTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCXDCMakeTool"
|
||||
/>
|
||||
|
@ -166,9 +145,6 @@
|
|||
<Tool
|
||||
Name="VCFxCopTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCAppVerifierTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
/>
|
||||
|
@ -401,34 +377,6 @@
|
|||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="cocos2dx_support"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\cocos2dx_support\LuaCocos2d.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\cocos2dx_support\LuaCocos2d.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\cocos2dx_support\LuaEngine.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\cocos2dx_support\LuaEngine.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\cocos2dx_support\LuaEngineImpl.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\cocos2dx_support\LuaEngineImpl.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="tolua"
|
||||
>
|
||||
|
|
|
@ -17,12 +17,12 @@
|
|||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
|
@ -53,7 +53,7 @@
|
|||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<AdditionalIncludeDirectories>$(SolutionDir)\lua\tolua;$(SolutionDir)\lua\lua;$(SolutionDir)\cocos2dx\platform\third_party\win32\OGLES;$(SolutionDir)\cocos2dx\platform;$(SolutionDir)\cocos2dx\include;$(SolutionDir)\cocos2dx;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories>$(SolutionDir)\lua\tolua;$(SolutionDir)\lua\lua;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<MinimalRebuild>true</MinimalRebuild>
|
||||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
||||
|
@ -80,7 +80,7 @@
|
|||
<ClCompile>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<AdditionalIncludeDirectories>$(SolutionDir)\lua\tolua;$(SolutionDir)\lua\lua;$(SolutionDir)\cocos2dx\platform\third_party\win32\OGLES;$(SolutionDir)\cocos2dx\platform;$(SolutionDir)\cocos2dx\include;$(SolutionDir)\cocos2dx;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<AdditionalIncludeDirectories>$(SolutionDir)\lua\tolua;$(SolutionDir)\lua\lua;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBLUA_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
|
@ -137,9 +137,6 @@
|
|||
<ClCompile Include="..\lua\lvm.c" />
|
||||
<ClCompile Include="..\lua\lzio.c" />
|
||||
<ClCompile Include="..\lua\print.c" />
|
||||
<ClCompile Include="..\cocos2dx_support\LuaCocos2d.cpp" />
|
||||
<ClCompile Include="..\cocos2dx_support\LuaEngine.cpp" />
|
||||
<ClCompile Include="..\cocos2dx_support\LuaEngineImpl.cpp" />
|
||||
<ClCompile Include="..\tolua\tolua_event.c" />
|
||||
<ClCompile Include="..\tolua\tolua_is.c" />
|
||||
<ClCompile Include="..\tolua\tolua_map.c" />
|
||||
|
@ -170,9 +167,6 @@
|
|||
<ClInclude Include="..\lua\lundump.h" />
|
||||
<ClInclude Include="..\lua\lvm.h" />
|
||||
<ClInclude Include="..\lua\lzio.h" />
|
||||
<ClInclude Include="..\cocos2dx_support\LuaCocos2d.h" />
|
||||
<ClInclude Include="..\cocos2dx_support\LuaEngine.h" />
|
||||
<ClInclude Include="..\cocos2dx_support\LuaEngineImpl.h" />
|
||||
<ClInclude Include="..\tolua\tolua++.h" />
|
||||
<ClInclude Include="..\tolua\tolua_event.h" />
|
||||
</ItemGroup>
|
||||
|
|
|
@ -4,9 +4,6 @@
|
|||
<Filter Include="lua">
|
||||
<UniqueIdentifier>{020bfeb5-842d-4139-94b3-8c4efa7c9d4c}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="cocos2dx_support">
|
||||
<UniqueIdentifier>{a7b0a396-a4d9-467c-808d-f127ea7ac30d}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="tolua">
|
||||
<UniqueIdentifier>{71825967-f1c3-4552-abf5-2b4618f567b7}</UniqueIdentifier>
|
||||
</Filter>
|
||||
|
@ -108,15 +105,6 @@
|
|||
<ClCompile Include="..\lua\print.c">
|
||||
<Filter>lua</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\cocos2dx_support\LuaCocos2d.cpp">
|
||||
<Filter>cocos2dx_support</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\cocos2dx_support\LuaEngine.cpp">
|
||||
<Filter>cocos2dx_support</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\cocos2dx_support\LuaEngineImpl.cpp">
|
||||
<Filter>cocos2dx_support</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\tolua\tolua_event.c">
|
||||
<Filter>tolua</Filter>
|
||||
</ClCompile>
|
||||
|
@ -203,15 +191,6 @@
|
|||
<ClInclude Include="..\lua\lzio.h">
|
||||
<Filter>lua</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cocos2dx_support\LuaCocos2d.h">
|
||||
<Filter>cocos2dx_support</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cocos2dx_support\LuaEngine.h">
|
||||
<Filter>cocos2dx_support</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\cocos2dx_support\LuaEngineImpl.h">
|
||||
<Filter>cocos2dx_support</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\tolua\tolua++.h">
|
||||
<Filter>tolua</Filter>
|
||||
</ClInclude>
|
||||
|
|
Loading…
Reference in New Issue