2014-09-15 15:10:55 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2014-03-10 19:33:57 +08:00
|
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
<ItemGroup Label="ProjectConfigurations">
|
|
|
|
<ProjectConfiguration Include="Debug|Win32">
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
<ProjectConfiguration Include="Release|Win32">
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
<Platform>Win32</Platform>
|
|
|
|
</ProjectConfiguration>
|
|
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup Label="Globals">
|
|
|
|
<ProjectGuid>{4E6A7A0E-DDD8-4BAA-8B22-C964069364ED}</ProjectGuid>
|
|
|
|
<ProjectName>HelloLua</ProjectName>
|
|
|
|
</PropertyGroup>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '10.0'">v100</PlatformToolset>
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '11.0'">v110</PlatformToolset>
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '11.0' and exists('$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A')">v110_xp</PlatformToolset>
|
2014-09-15 15:10:55 +08:00
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '12.0' and exists('$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A')">v120_xp</PlatformToolset>
|
2014-03-10 19:33:57 +08:00
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '10.0'">v100</PlatformToolset>
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '11.0'">v110</PlatformToolset>
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '11.0' and exists('$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A')">v110_xp</PlatformToolset>
|
2014-09-15 15:10:55 +08:00
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '12.0' and exists('$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A')">v120_xp</PlatformToolset>
|
2014-03-10 19:33:57 +08:00
|
|
|
</PropertyGroup>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
|
|
<ImportGroup Label="ExtensionSettings">
|
|
|
|
</ImportGroup>
|
|
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
2014-03-11 16:52:06 +08:00
|
|
|
<Import Project="..\..\cocos2d-x\cocos\2d\cocos2dx.props" />
|
|
|
|
<Import Project="..\..\cocos2d-x\cocos\2d\cocos2d_headers.props" />
|
2014-03-10 19:33:57 +08:00
|
|
|
</ImportGroup>
|
|
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
2014-03-11 16:52:06 +08:00
|
|
|
<Import Project="..\..\cocos2d-x\cocos\2d\cocos2dx.props" />
|
|
|
|
<Import Project="..\..\cocos2d-x\cocos\2d\cocos2d_headers.props" />
|
2014-03-10 19:33:57 +08:00
|
|
|
</ImportGroup>
|
|
|
|
<PropertyGroup Label="UserMacros" />
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
|
|
<OutDir>$(SolutionDir)$(Configuration).win32\</OutDir>
|
|
|
|
<IntDir>$(Configuration).win32\</IntDir>
|
|
|
|
<LinkIncremental>true</LinkIncremental>
|
|
|
|
<IncludePath>$(IncludePath)</IncludePath>
|
|
|
|
<SourcePath>$(SourcePath);</SourcePath>
|
|
|
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
<OutDir>$(SolutionDir)$(Configuration).win32\</OutDir>
|
|
|
|
<IntDir>$(Configuration).win32\</IntDir>
|
|
|
|
<LinkIncremental>false</LinkIncremental>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
|
|
<LibraryPath>$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath)</LibraryPath>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
<LibraryPath>$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath)</LibraryPath>
|
|
|
|
</PropertyGroup>
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
|
|
<ClCompile>
|
2014-03-11 16:52:06 +08:00
|
|
|
<AdditionalIncludeDirectories>$(ProjectDir)..\Classes;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\audio\include;$(EngineRoot)external\lua\lua;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;$(EngineRoot);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
2014-03-10 19:33:57 +08:00
|
|
|
<PrecompiledHeader>
|
|
|
|
</PrecompiledHeader>
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
|
|
<MinimalRebuild>false</MinimalRebuild>
|
|
|
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
|
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
|
|
<Optimization>Disabled</Optimization>
|
2014-03-11 16:52:06 +08:00
|
|
|
<PreprocessorDefinitions>WIN32;_WINDOWS;STRICT;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS_DEBUG;COCOS2D_DEBUG=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2014-03-10 19:33:57 +08:00
|
|
|
<DisableSpecificWarnings>4267;4251;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
|
|
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
|
|
<AdditionalDependencies>libcurl_imp.lib;lua51.lib;websockets.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
|
|
</Link>
|
|
|
|
<ResourceCompile>
|
|
|
|
<Culture>0x0409</Culture>
|
|
|
|
<AdditionalIncludeDirectories>$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\include;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
</ResourceCompile>
|
|
|
|
<Midl>
|
|
|
|
<MkTypLibCompatible>false</MkTypLibCompatible>
|
|
|
|
<TargetEnvironment>Win32</TargetEnvironment>
|
|
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<HeaderFileName>HelloLua.h</HeaderFileName>
|
|
|
|
<InterfaceIdentifierFileName>HelloLua_i.c</InterfaceIdentifierFileName>
|
|
|
|
<ProxyFileName>HelloLua_p.c</ProxyFileName>
|
|
|
|
<GenerateStublessProxies>true</GenerateStublessProxies>
|
|
|
|
<TypeLibraryName>$(IntDir)/HelloLua.tlb</TypeLibraryName>
|
|
|
|
<DllDataFileName>
|
|
|
|
</DllDataFileName>
|
|
|
|
</Midl>
|
|
|
|
<PreBuildEvent>
|
2014-08-11 12:54:30 +08:00
|
|
|
<Command>xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\cocos2d" "$(ProjectDir)..\..\..\" /e /Y
|
2014-08-14 21:27:02 +08:00
|
|
|
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\cocosdenshion" "$(ProjectDir)..\..\..\" /e /Y
|
|
|
|
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\cocosbuilder" "$(ProjectDir)..\..\..\" /e /Y
|
|
|
|
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\cocostudio" "$(ProjectDir)..\..\..\" /e /Y
|
|
|
|
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\extension" "$(ProjectDir)..\..\..\" /e /Y
|
|
|
|
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\network" "$(ProjectDir)..\..\..\" /e /Y
|
|
|
|
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\ui" "$(ProjectDir)..\..\..\" /e /Y</Command>
|
2014-03-10 19:33:57 +08:00
|
|
|
<Message>copy files</Message>
|
|
|
|
</PreBuildEvent>
|
|
|
|
<PreLinkEvent>
|
2014-08-13 14:29:14 +08:00
|
|
|
<Command>
|
|
|
|
</Command>
|
2014-03-10 19:33:57 +08:00
|
|
|
</PreLinkEvent>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
<ClCompile>
|
2014-03-11 16:52:06 +08:00
|
|
|
<AdditionalIncludeDirectories>$(ProjectDir)..\Classes;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\audio\include;$(EngineRoot)external\lua\lua;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;$(EngineRoot);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
2014-03-10 19:33:57 +08:00
|
|
|
<PrecompiledHeader>
|
|
|
|
</PrecompiledHeader>
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
|
|
|
<ExceptionHandling>
|
|
|
|
</ExceptionHandling>
|
|
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
2014-03-11 16:52:06 +08:00
|
|
|
<PreprocessorDefinitions>WIN32;_WINDOWS;STRICT;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGSNDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2014-03-10 19:33:57 +08:00
|
|
|
<DisableSpecificWarnings>4267;4251;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
|
|
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
|
|
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
|
|
<AdditionalDependencies>libcurl_imp.lib;lua51.lib;websockets.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
</Link>
|
|
|
|
<ResourceCompile>
|
|
|
|
<Culture>0x0409</Culture>
|
|
|
|
<AdditionalIncludeDirectories>$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\include;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
</ResourceCompile>
|
|
|
|
<Midl>
|
|
|
|
<MkTypLibCompatible>false</MkTypLibCompatible>
|
|
|
|
<TargetEnvironment>Win32</TargetEnvironment>
|
|
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<HeaderFileName>HelloLua.h</HeaderFileName>
|
|
|
|
<InterfaceIdentifierFileName>HelloLua_i.c</InterfaceIdentifierFileName>
|
|
|
|
<ProxyFileName>HelloLua_p.c</ProxyFileName>
|
|
|
|
<GenerateStublessProxies>true</GenerateStublessProxies>
|
|
|
|
<TypeLibraryName>$(IntDir)/HelloLua.tlb</TypeLibraryName>
|
|
|
|
<DllDataFileName>
|
|
|
|
</DllDataFileName>
|
|
|
|
</Midl>
|
|
|
|
<PreBuildEvent>
|
2014-08-11 12:54:30 +08:00
|
|
|
<Command>xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\cocos2d" "$(ProjectDir)..\..\..\" /e /Y
|
2014-08-14 21:27:02 +08:00
|
|
|
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\cocosdenshion" "$(ProjectDir)..\..\..\" /e /Y
|
|
|
|
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\cocosbuilder" "$(ProjectDir)..\..\..\" /e /Y
|
|
|
|
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\cocostudio" "$(ProjectDir)..\..\..\" /e /Y
|
|
|
|
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\extension" "$(ProjectDir)..\..\..\" /e /Y
|
|
|
|
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\network" "$(ProjectDir)..\..\..\" /e /Y
|
|
|
|
xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\lua-bindings\script\ui" "$(ProjectDir)..\..\..\" /e /Y</Command>
|
2014-03-10 19:33:57 +08:00
|
|
|
<Message>copy files</Message>
|
|
|
|
</PreBuildEvent>
|
|
|
|
<PreLinkEvent>
|
2014-08-13 14:29:14 +08:00
|
|
|
<Command>
|
|
|
|
</Command>
|
2014-03-10 19:33:57 +08:00
|
|
|
</PreLinkEvent>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<ClInclude Include="..\Classes\AppDelegate.h" />
|
|
|
|
<ClInclude Include="main.h" />
|
2014-03-11 16:52:06 +08:00
|
|
|
<ClInclude Include="resource.h" />
|
2014-03-10 19:33:57 +08:00
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<ClCompile Include="..\Classes\AppDelegate.cpp" />
|
|
|
|
<ClCompile Include="main.cpp" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<ResourceCompile Include="game.rc" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
2014-08-07 13:54:54 +08:00
|
|
|
<Image Include="res\game.ico" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
2014-09-15 15:10:55 +08:00
|
|
|
<ProjectReference Include="..\..\cocos2d-x\cocos\2d\libcocos2d.vcxproj">
|
|
|
|
<Project>{98a51ba8-fc3a-415b-ac8f-8c7bd464e93e}</Project>
|
|
|
|
</ProjectReference>
|
2014-08-07 13:54:54 +08:00
|
|
|
<ProjectReference Include="..\..\cocos2d-x\cocos\scripting\lua-bindings\proj.win32\libluacocos2d.vcxproj">
|
|
|
|
<Project>{9f2d6ce6-c893-4400-b50c-6db70cc2562f}</Project>
|
2014-03-10 19:33:57 +08:00
|
|
|
</ProjectReference>
|
2014-09-15 15:10:55 +08:00
|
|
|
<ProjectReference Include="..\..\cocos2d-x\external\Box2D\proj.win32\libbox2d.vcxproj">
|
|
|
|
<Project>{929480e7-23c0-4df6-8456-096d71547116}</Project>
|
|
|
|
</ProjectReference>
|
2014-03-10 19:33:57 +08:00
|
|
|
</ItemGroup>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
|
|
<ImportGroup Label="ExtensionTargets">
|
|
|
|
</ImportGroup>
|
2014-09-15 15:10:55 +08:00
|
|
|
</Project>
|