2014-03-11 16:52:06 +08:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<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>
|
|
|
|
|
</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>
|
|
|
|
|
</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" />
|
|
|
|
|
<Import Project="..\..\cocos2d-x\cocos\2d\cocos2dx.props" />
|
|
|
|
|
<Import Project="..\..\cocos2d-x\cocos\2d\cocos2d_headers.props" />
|
|
|
|
|
</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" />
|
|
|
|
|
<Import Project="..\..\cocos2d-x\cocos\2d\cocos2dx.props" />
|
|
|
|
|
<Import Project="..\..\cocos2d-x\cocos\2d\cocos2d_headers.props" />
|
|
|
|
|
</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>
|
|
|
|
|
<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>
|
|
|
|
|
<PrecompiledHeader>
|
|
|
|
|
</PrecompiledHeader>
|
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
|
|
|
<MinimalRebuild>false</MinimalRebuild>
|
|
|
|
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
|
|
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
|
|
|
<Optimization>Disabled</Optimization>
|
|
|
|
|
<PreprocessorDefinitions>WIN32;_WINDOWS;STRICT;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS_DEBUG;COCOS2D_DEBUG=1;GLFW_EXPOSE_NATIVE_WIN32;GLFW_EXPOSE_NATIVE_WGL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
|
<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>
|
|
|
|
|
<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</Command>
|
|
|
|
|
<Message>copy files</Message>
|
|
|
|
|
</PreBuildEvent>
|
|
|
|
|
<PreLinkEvent>
|
|
|
|
|
<Command>if not exist "$(OutDir)" mkdir "$(OutDir)"
|
|
|
|
|
xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)"</Command>
|
|
|
|
|
</PreLinkEvent>
|
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
|
<ClCompile>
|
|
|
|
|
<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>
|
|
|
|
|
<PrecompiledHeader>
|
|
|
|
|
</PrecompiledHeader>
|
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
|
|
|
|
<ExceptionHandling>
|
|
|
|
|
</ExceptionHandling>
|
|
|
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
|
|
|
<PreprocessorDefinitions>WIN32;_WINDOWS;STRICT;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGSNDEBUG;GLFW_EXPOSE_NATIVE_WIN32;GLFW_EXPOSE_NATIVE_WGL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
|
<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>
|
|
|
|
|
<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</Command>
|
|
|
|
|
<Message>copy files</Message>
|
|
|
|
|
</PreBuildEvent>
|
|
|
|
|
<PreLinkEvent>
|
|
|
|
|
<Command>if not exist "$(OutDir)" mkdir "$(OutDir)"
|
|
|
|
|
xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)"</Command>
|
|
|
|
|
</PreLinkEvent>
|
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ClInclude Include="..\Classes\AppDelegate.h" />
|
|
|
|
|
<ClInclude Include="..\Classes\Runtime.h" />
|
|
|
|
|
<ClInclude Include="main.h" />
|
|
|
|
|
<ClInclude Include="resource.h" />
|
|
|
|
|
<ClInclude Include="SimulatorWindow.h" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ClCompile Include="..\Classes\AppDelegate.cpp" />
|
|
|
|
|
<ClCompile Include="..\Classes\Runtime.cpp" />
|
|
|
|
|
<ClCompile Include="main.cpp" />
|
|
|
|
|
<ClCompile Include="Runtime_win32.cpp" />
|
|
|
|
|
<ClCompile Include="SimulatorWindow.cpp" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ResourceCompile Include="game.rc" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ProjectReference Include="..\..\cocos2d-x\cocos\2d\cocos2d.vcxproj">
|
|
|
|
|
<Project>{98a51ba8-fc3a-415b-ac8f-8c7bd464e93e}</Project>
|
|
|
|
|
</ProjectReference>
|
|
|
|
|
<ProjectReference Include="..\..\cocos2d-x\cocos\audio\proj.win32\CocosDenshion.vcxproj">
|
|
|
|
|
<Project>{f8edd7fa-9a51-4e80-baeb-860825d2eac6}</Project>
|
|
|
|
|
</ProjectReference>
|
|
|
|
|
<ProjectReference Include="..\..\cocos2d-x\cocos\editor-support\cocosbuilder\proj.win32\libCocosBuilder.vcxproj">
|
|
|
|
|
<Project>{811c0dab-7b96-4bd3-a154-b7572b58e4ab}</Project>
|
|
|
|
|
</ProjectReference>
|
|
|
|
|
<ProjectReference Include="..\..\cocos2d-x\cocos\editor-support\cocostudio\proj.win32\libCocosStudio.vcxproj">
|
|
|
|
|
<Project>{b57cf53f-2e49-4031-9822-047cc0e6bde2}</Project>
|
|
|
|
|
</ProjectReference>
|
|
|
|
|
<ProjectReference Include="..\..\cocos2d-x\cocos\editor-support\spine\proj.win32\libSpine.vcxproj">
|
|
|
|
|
<Project>{b7c2a162-dec9-4418-972e-240ab3cbfcae}</Project>
|
|
|
|
|
</ProjectReference>
|
2014-03-12 10:46:49 +08:00
|
|
|
|
<ProjectReference Include="..\..\cocos2d-x\cocos\ui\proj.win32\libGUI.vcxproj">
|
2014-03-11 16:52:06 +08:00
|
|
|
|
<Project>{7e06e92c-537a-442b-9e4a-4761c84f8a1a}</Project>
|
|
|
|
|
</ProjectReference>
|
|
|
|
|
<ProjectReference Include="..\..\cocos2d-x\cocos\network\proj.win32\libNetwork.vcxproj">
|
|
|
|
|
<Project>{df2638c0-8128-4847-867c-6eafe3dee7b5}</Project>
|
|
|
|
|
</ProjectReference>
|
|
|
|
|
<ProjectReference Include="..\..\cocos2d-x\cocos\scripting\lua-bindings\proj.win32\liblua.vcxproj">
|
|
|
|
|
<Project>{ddc3e27f-004d-4dd4-9dd3-931a013d2159}</Project>
|
|
|
|
|
</ProjectReference>
|
|
|
|
|
<ProjectReference Include="..\..\cocos2d-x\cocos\storage\local-storage\proj.win32\libLocalStorage.vcxproj">
|
|
|
|
|
<Project>{632a8f38-d0f0-4d22-86b3-d69f5e6bf63a}</Project>
|
|
|
|
|
</ProjectReference>
|
|
|
|
|
<ProjectReference Include="..\..\cocos2d-x\extensions\proj.win32\libExtensions.vcxproj">
|
|
|
|
|
<Project>{21b2c324-891f-48ea-ad1a-5ae13de12e28}</Project>
|
|
|
|
|
</ProjectReference>
|
|
|
|
|
<ProjectReference Include="..\..\cocos2d-x\external\chipmunk\proj.win32\chipmunk.vcxproj">
|
|
|
|
|
<Project>{207bc7a9-ccf1-4f2f-a04d-45f72242ae25}</Project>
|
|
|
|
|
</ProjectReference>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<Image Include="res\game.ico" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
|
|
|
<ImportGroup Label="ExtensionTargets">
|
|
|
|
|
</ImportGroup>
|
2014-03-12 10:46:49 +08:00
|
|
|
|
</Project>
|