2015-05-22 17:47:48 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-05-14 14:11:40 +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>simulator</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)' == '11.0'">v110</PlatformToolset>
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '12.0'">v120</PlatformToolset>
|
2015-05-22 17:47:48 +08:00
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '14.0'">v140</PlatformToolset>
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '14.0' and exists('$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A')">v140_xp</PlatformToolset>
|
2015-05-14 14:11:40 +08:00
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '11.0'">v110</PlatformToolset>
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '12.0'">v120</PlatformToolset>
|
2015-05-22 17:47:48 +08:00
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '14.0'">v140</PlatformToolset>
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '14.0' and exists('$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A')">v140_xp</PlatformToolset>
|
2015-05-14 14:11:40 +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" />
|
|
|
|
<Import Project="..\..\..\..\..\cocos\2d\cocos2dx.props" />
|
|
|
|
<Import Project="..\..\..\..\..\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="..\..\..\..\..\cocos\2d\cocos2dx.props" />
|
|
|
|
<Import Project="..\..\..\..\..\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;$(ProjectDir)..\Classes\runtime;$(ProjectDir)..\Classes\ide-support;$(EngineRoot)cocos\base;$(EngineRoot)external\win32-specific\zlib\include;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\scripting\js-bindings\auto;$(EngineRoot)cocos\scripting\js-bindings\manual;$(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\lua\lua;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)external\curl\include\win32;$(EngineRoot)external\spidermonkey\include\win32;$(EngineRoot)tools\simulator\libsimulator\lib;$(EngineRoot)tools\simulator\libsimulator\lib\protobuf-lite;$(EngineRoot)extensions;$(EngineRoot);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
|
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
|
|
<MinimalRebuild>false</MinimalRebuild>
|
|
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
|
|
<Optimization>Disabled</Optimization>
|
2015-07-22 12:01:34 +08:00
|
|
|
<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>
|
2015-05-14 14:11:40 +08:00
|
|
|
<DisableSpecificWarnings>4267;4251;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
|
|
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
|
|
<ProgramDataBaseFileName>$(IntDir)vc$(PlatformToolsetVersion).pdb</ProgramDataBaseFileName>
|
|
|
|
<ForcedIncludeFiles>algorithm</ForcedIncludeFiles>
|
|
|
|
<CompileAs>CompileAsCpp</CompileAs>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
<AdditionalLibraryDirectories>$(OutDir);$(EngineRoot)external\spidermonkey\prebuilt\win32;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
2015-07-01 15:31:03 +08:00
|
|
|
<AdditionalDependencies>libcurl_imp.lib;websockets.lib;mozjs-33.lib;libbox2d.lib;libSpine.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
2015-05-14 14:11:40 +08:00
|
|
|
<ProgramDatabaseFile>$(ProjectDir)../../../runtime/win32/$(TargetName).pdb</ProgramDatabaseFile>
|
|
|
|
<OutputFile>$(ProjectDir)../../../runtime/win32/$(TargetName)$(TargetExt)</OutputFile>
|
2015-06-26 21:00:32 +08:00
|
|
|
<IgnoreSpecificDefaultLibraries>libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
2015-05-14 14:11:40 +08:00
|
|
|
</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>simulator.h</HeaderFileName>
|
|
|
|
<InterfaceIdentifierFileName>simulator_i.c</InterfaceIdentifierFileName>
|
|
|
|
<ProxyFileName>simulator_p.c</ProxyFileName>
|
|
|
|
<GenerateStublessProxies>true</GenerateStublessProxies>
|
|
|
|
<TypeLibraryName>$(IntDir)/simulator.tlb</TypeLibraryName>
|
|
|
|
<DllDataFileName>
|
|
|
|
</DllDataFileName>
|
|
|
|
</Midl>
|
|
|
|
<PreBuildEvent>
|
|
|
|
<Command>if not exist "$(OutDir)" mkdir "$(OutDir)"
|
|
|
|
|
|
|
|
xcopy /Y /Q "$(ProjectDir)..\Classes\ide-support\lang" "$(OutDir)"
|
|
|
|
</Command>
|
|
|
|
<Message>
|
|
|
|
</Message>
|
|
|
|
</PreBuildEvent>
|
|
|
|
<PreLinkEvent>
|
|
|
|
<Command>
|
|
|
|
</Command>
|
|
|
|
</PreLinkEvent>
|
|
|
|
<PostBuildEvent>
|
|
|
|
<Command>if not exist "$(ProjectDir)..\..\..\runtime" mkdir "$(ProjectDir)..\..\..\runtime"
|
|
|
|
|
|
|
|
if not exist "$(ProjectDir)..\..\..\runtime\win32" mkdir "$(ProjectDir)..\..\..\runtime\win32"
|
|
|
|
|
|
|
|
xcopy /Y /Q "$(OutDir)*.dll" "$(ProjectDir)..\..\..\runtime\win32"
|
|
|
|
xcopy /Y /Q "$(OutDir)*.exe" "$(ProjectDir)..\..\..\runtime\win32"
|
|
|
|
xcopy /Y /Q "$(OutDir)lang" "$(ProjectDir)..\..\..\runtime\win32"
|
|
|
|
</Command>
|
|
|
|
</PostBuildEvent>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
<ClCompile>
|
|
|
|
<AdditionalIncludeDirectories>$(ProjectDir)..\Classes;$(ProjectDir)..\Classes\runtime;$(EngineRoot)cocos\base;$(EngineRoot)tools\simulator\libsimulator\lib\protobuf-lite;$(EngineRoot)external\win32-specific\zlib\include;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\scripting\js-bindings\auto;$(EngineRoot)cocos\scripting\js-bindings\manual;$(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\lua\lua;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;$(EngineRoot)external\curl\include\win32;$(EngineRoot)external\spidermonkey\include\win32;$(EngineRoot)tools\simulator\libsimulator\lib;$(EngineRoot);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
|
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
|
|
|
<ExceptionHandling>Sync</ExceptionHandling>
|
|
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
2015-07-22 12:01:34 +08:00
|
|
|
<PreprocessorDefinitions>COCOS2D_DEBUG=1;WIN32;_WINDOWS;STRICT;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGSNDEBUG;GLFW_EXPOSE_NATIVE_WIN32;GLFW_EXPOSE_NATIVE_WGL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2015-05-14 14:11:40 +08:00
|
|
|
<DisableSpecificWarnings>4267;4251;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
|
|
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
|
|
<ProgramDataBaseFileName>$(IntDir)vc$(PlatformToolsetVersion).pdb</ProgramDataBaseFileName>
|
|
|
|
<ForcedIncludeFiles>algorithm</ForcedIncludeFiles>
|
|
|
|
<CompileAs>CompileAsCpp</CompileAs>
|
|
|
|
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
|
|
|
<MinimalRebuild>true</MinimalRebuild>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
|
|
<AdditionalLibraryDirectories>$(OutDir);$(EngineRoot)external\spidermonkey\prebuilt\win32;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
2015-07-01 15:31:03 +08:00
|
|
|
<AdditionalDependencies>libcurl_imp.lib;websockets.lib;mozjs-33.lib;libbox2d.lib;libSpine.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
2015-05-14 14:11:40 +08:00
|
|
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
|
|
|
<OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
|
2015-06-26 21:00:32 +08:00
|
|
|
<IgnoreSpecificDefaultLibraries>libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
|
2015-05-14 14:11:40 +08:00
|
|
|
</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>simulator.h</HeaderFileName>
|
|
|
|
<InterfaceIdentifierFileName>simulator_i.c</InterfaceIdentifierFileName>
|
|
|
|
<ProxyFileName>simulator_p.c</ProxyFileName>
|
|
|
|
<GenerateStublessProxies>true</GenerateStublessProxies>
|
|
|
|
<TypeLibraryName>$(IntDir)/simulator.tlb</TypeLibraryName>
|
|
|
|
<DllDataFileName>
|
|
|
|
</DllDataFileName>
|
|
|
|
</Midl>
|
|
|
|
<PreBuildEvent>
|
|
|
|
<Command>if not exist "$(OutDir)" mkdir "$(OutDir)"
|
|
|
|
|
|
|
|
xcopy /Y /Q "$(ProjectDir)..\Classes\ide-support\lang" "$(OutDir)"
|
|
|
|
</Command>
|
|
|
|
<Message>
|
|
|
|
</Message>
|
|
|
|
</PreBuildEvent>
|
|
|
|
<PreLinkEvent>
|
|
|
|
<Command>
|
|
|
|
</Command>
|
|
|
|
</PreLinkEvent>
|
|
|
|
<PostBuildEvent>
|
|
|
|
<Command>if not exist "$(ProjectDir)..\..\..\runtime" mkdir "$(ProjectDir)..\..\..\runtime"
|
|
|
|
|
|
|
|
if not exist "$(ProjectDir)..\..\..\runtime\win32" mkdir "$(ProjectDir)..\..\..\runtime\win32"
|
|
|
|
|
|
|
|
xcopy /Y /Q "$(OutDir)*.dll" "$(ProjectDir)..\..\..\runtime\win32"
|
|
|
|
xcopy /Y /Q "$(OutDir)*.exe" "$(ProjectDir)..\..\..\runtime\win32"
|
|
|
|
xcopy /Y /Q "$(OutDir)lang" "$(ProjectDir)..\..\..\runtime\win32"
|
|
|
|
</Command>
|
|
|
|
</PostBuildEvent>
|
|
|
|
<Manifest>
|
|
|
|
<AdditionalManifestFiles>
|
|
|
|
</AdditionalManifestFiles>
|
|
|
|
</Manifest>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<ClInclude Include="..\Classes\AppDelegate.h" />
|
|
|
|
<ClInclude Include="..\Classes\ide-support\CodeIDESupport.h" />
|
|
|
|
<ClInclude Include="..\Classes\ide-support\lua_debugger.h" />
|
|
|
|
<ClInclude Include="..\Classes\ide-support\RuntimeJsImpl.h" />
|
|
|
|
<ClInclude Include="..\Classes\ide-support\RuntimeLuaImpl.h" />
|
|
|
|
<ClInclude Include="main.h" />
|
|
|
|
<ClInclude Include="resource.h" />
|
|
|
|
<ClInclude Include="SimulatorWin.h" />
|
|
|
|
<ClInclude Include="stdafx.h" />
|
|
|
|
<ClInclude Include="targetver.h" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<ClCompile Include="..\Classes\AppDelegate.cpp" />
|
|
|
|
<ClCompile Include="..\Classes\ide-support\lua_debugger.c" />
|
|
|
|
<ClCompile Include="..\Classes\ide-support\RuntimeJsImpl.cpp" />
|
|
|
|
<ClCompile Include="..\Classes\ide-support\RuntimeLuaImpl.cpp" />
|
|
|
|
<ClCompile Include="main.cpp" />
|
|
|
|
<ClCompile Include="SimulatorWin.cpp" />
|
|
|
|
<ClCompile Include="stdafx.cpp" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<ResourceCompile Include="game.rc" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<Image Include="res\game.ico" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<ProjectReference Include="..\..\..\..\..\cocos\scripting\js-bindings\proj.win32\libjscocos2d.vcxproj">
|
|
|
|
<Project>{39379840-825a-45a0-b363-c09ffef864bd}</Project>
|
|
|
|
</ProjectReference>
|
|
|
|
<ProjectReference Include="..\..\..\..\..\cocos\scripting\lua-bindings\proj.win32\libluacocos2d.vcxproj">
|
|
|
|
<Project>{9f2d6ce6-c893-4400-b50c-6db70cc2562f}</Project>
|
|
|
|
</ProjectReference>
|
|
|
|
<ProjectReference Include="..\..\..\libsimulator\proj.win32\libsimulator.vcxproj">
|
|
|
|
<Project>{001b324a-bb91-4e83-875c-c92f75c40857}</Project>
|
|
|
|
</ProjectReference>
|
|
|
|
</ItemGroup>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
|
|
<ImportGroup Label="ExtensionTargets">
|
|
|
|
</ImportGroup>
|
2015-05-22 17:47:48 +08:00
|
|
|
</Project>
|