2015-06-01 18:59:27 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-04-15 17:49:33 +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>{3B0B58B1-2734-488E-A542-ECEC11EB2455}</ProjectGuid>
|
|
|
|
<RootNamespace>HelloJavascript</RootNamespace>
|
|
|
|
</PropertyGroup>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '12.0'">v120</PlatformToolset>
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '12.0' and exists('$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A')">v120_xp</PlatformToolset>
|
2015-05-12 16:26:28 +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-04-15 17:49:33 +08:00
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '12.0'">v120</PlatformToolset>
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '12.0' and exists('$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A')">v120_xp</PlatformToolset>
|
2015-05-12 16:26:28 +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-04-15 17:49:33 +08:00
|
|
|
</PropertyGroup>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
|
|
<ImportGroup Label="ExtensionSettings">
|
|
|
|
</ImportGroup>
|
|
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
2015-04-17 14:59:12 +08:00
|
|
|
<Import Project="..\..\cocos2d-x\cocos\2d\cocos2dx.props" />
|
|
|
|
<Import Project="..\..\cocos2d-x\cocos\2d\cocos2d_headers.props" />
|
2015-04-15 17:49:33 +08:00
|
|
|
</ImportGroup>
|
|
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
2015-04-17 14:59:12 +08:00
|
|
|
<Import Project="..\..\cocos2d-x\cocos\2d\cocos2dx.props" />
|
|
|
|
<Import Project="..\..\cocos2d-x\cocos\2d\cocos2d_headers.props" />
|
2015-04-15 17:49:33 +08:00
|
|
|
</ImportGroup>
|
|
|
|
<PropertyGroup Label="UserMacros" />
|
|
|
|
<PropertyGroup>
|
2015-05-05 16:11:26 +08:00
|
|
|
<_ProjectFileVersion>12.0.21005.1</_ProjectFileVersion>
|
2015-04-15 17:49:33 +08:00
|
|
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration).win32\</OutDir>
|
|
|
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration).win32\</IntDir>
|
|
|
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental>
|
|
|
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration).win32\</OutDir>
|
|
|
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration).win32\</IntDir>
|
|
|
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
|
|
|
|
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
|
|
|
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
|
|
|
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
|
|
|
|
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
|
|
|
|
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
|
|
|
|
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
|
|
|
|
</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'">
|
|
|
|
<Midl>
|
|
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<MkTypLibCompatible>false</MkTypLibCompatible>
|
|
|
|
<TargetEnvironment>Win32</TargetEnvironment>
|
|
|
|
<GenerateStublessProxies>true</GenerateStublessProxies>
|
|
|
|
<TypeLibraryName>$(IntDir)game.tlb</TypeLibraryName>
|
|
|
|
<HeaderFileName>game.h</HeaderFileName>
|
|
|
|
<DllDataFileName>
|
|
|
|
</DllDataFileName>
|
|
|
|
<InterfaceIdentifierFileName>game_i.c</InterfaceIdentifierFileName>
|
|
|
|
<ProxyFileName>game_p.c</ProxyFileName>
|
|
|
|
</Midl>
|
|
|
|
<ClCompile>
|
|
|
|
<Optimization>Disabled</Optimization>
|
2016-03-21 21:04:06 +08:00
|
|
|
<AdditionalIncludeDirectories>$(ProjectDir)..\Classes;$(EngineRoot);$(EngineRoot)cocos;$(EngineRoot)external\spidermonkey\include\win32;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
2015-12-09 15:28:32 +08:00
|
|
|
<PreprocessorDefinitions>WIN32;_WINDOWS;STRICT;_DEBUG;XP_WIN;JS_HAVE___INTN;JS_INTPTR_TYPE=int;COCOS2D_DEBUG=1;COCOS2D_JAVASCRIPT=1;CC_ENABLE_CHIPMUNK_INTEGRATION=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;_USRJSSTATIC;_USRLIBSIMSTATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2015-04-15 17:49:33 +08:00
|
|
|
<MinimalRebuild>false</MinimalRebuild>
|
|
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
|
|
<PrecompiledHeader>
|
|
|
|
</PrecompiledHeader>
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
|
|
|
<DisableSpecificWarnings>4267;4251;4244;4800;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
|
|
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
|
|
</ClCompile>
|
|
|
|
<ResourceCompile>
|
|
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<Culture>0x0409</Culture>
|
|
|
|
<AdditionalIncludeDirectories>$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\include;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
|
|
</ResourceCompile>
|
|
|
|
<PreLinkEvent>
|
2015-06-17 18:06:09 +08:00
|
|
|
<Command></Command>
|
2015-04-15 17:49:33 +08:00
|
|
|
</PreLinkEvent>
|
|
|
|
<Link>
|
2017-03-14 11:17:15 +08:00
|
|
|
<AdditionalDependencies>mozjs-33.lib;ws2_32.lib;sqlite3.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
2015-04-15 17:49:33 +08:00
|
|
|
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
|
|
</Link>
|
|
|
|
<PreBuildEvent>
|
2015-06-17 18:06:09 +08:00
|
|
|
<Command></Command>
|
2015-04-15 17:49:33 +08:00
|
|
|
</PreBuildEvent>
|
|
|
|
<PreBuildEvent>
|
2015-06-17 18:06:09 +08:00
|
|
|
<Command></Command>
|
2015-04-15 17:49:33 +08:00
|
|
|
</PreBuildEvent>
|
|
|
|
</ItemDefinitionGroup>
|
2015-06-01 18:59:27 +08:00
|
|
|
<ItemDefinitionGroup>
|
|
|
|
<CustomBuildStep>
|
|
|
|
<Command>xcopy "$(ProjectDir)..\..\cocos2d-x\cocos\scripting\js-bindings\script" "$(OutDir)\script" /D /E /I /F /Y
|
|
|
|
xcopy "$(ProjectDir)..\..\..\src" "$(OutDir)\src" /D /E /I /F /Y
|
|
|
|
xcopy "$(ProjectDir)..\..\..\res" "$(OutDir)\res" /D /E /I /F /Y
|
|
|
|
copy "$(ProjectDir)..\..\..\main.js" "$(OutDir)\" /Y
|
|
|
|
copy "$(ProjectDir)..\..\..\project.json" "$(OutDir)\" /Y</Command>
|
|
|
|
<Outputs>$(TargetName).cab</Outputs>
|
|
|
|
<Inputs>$(TargetFileName)</Inputs>
|
|
|
|
</CustomBuildStep>
|
|
|
|
</ItemDefinitionGroup>
|
2015-04-15 17:49:33 +08:00
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
<Midl>
|
|
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<MkTypLibCompatible>false</MkTypLibCompatible>
|
|
|
|
<TargetEnvironment>Win32</TargetEnvironment>
|
|
|
|
<GenerateStublessProxies>true</GenerateStublessProxies>
|
|
|
|
<TypeLibraryName>$(IntDir)game.tlb</TypeLibraryName>
|
|
|
|
<HeaderFileName>game.h</HeaderFileName>
|
|
|
|
<DllDataFileName>
|
|
|
|
</DllDataFileName>
|
|
|
|
<InterfaceIdentifierFileName>game_i.c</InterfaceIdentifierFileName>
|
|
|
|
<ProxyFileName>game_p.c</ProxyFileName>
|
|
|
|
</Midl>
|
|
|
|
<ClCompile>
|
2016-03-21 21:04:06 +08:00
|
|
|
<AdditionalIncludeDirectories>$(ProjectDir)..\Classes;$(EngineRoot);$(EngineRoot)cocos;$(EngineRoot)external\spidermonkey\include\win32;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
2015-12-09 15:28:32 +08:00
|
|
|
<PreprocessorDefinitions>WIN32;_WINDOWS;STRICT;NDEBUG;XP_WIN;JS_HAVE___INTN;JS_INTPTR_TYPE=int;COCOS2D_JAVASCRIPT=1;CC_ENABLE_CHIPMUNK_INTEGRATION=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;_USRJSSTATIC;_USRLIBSIMSTATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2015-04-15 17:49:33 +08:00
|
|
|
<ExceptionHandling>
|
|
|
|
</ExceptionHandling>
|
|
|
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
|
|
|
<PrecompiledHeader>
|
|
|
|
</PrecompiledHeader>
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
<DebugInformationFormat>
|
|
|
|
</DebugInformationFormat>
|
|
|
|
<DisableSpecificWarnings>4267;4251;4244;4800;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
|
|
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
|
|
</ClCompile>
|
|
|
|
<ResourceCompile>
|
|
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<Culture>0x0409</Culture>
|
|
|
|
<AdditionalIncludeDirectories>$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\include;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
|
|
</ResourceCompile>
|
|
|
|
<PreLinkEvent>
|
2015-06-17 18:06:09 +08:00
|
|
|
<Command></Command>
|
2015-04-15 17:49:33 +08:00
|
|
|
</PreLinkEvent>
|
|
|
|
<Link>
|
2017-03-14 11:17:15 +08:00
|
|
|
<AdditionalDependencies>mozjs-33.lib;ws2_32.lib;sqlite3.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
2015-04-15 17:49:33 +08:00
|
|
|
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
</Link>
|
|
|
|
<PreBuildEvent>
|
2015-06-17 18:06:09 +08:00
|
|
|
<Command></Command>
|
2015-04-15 17:49:33 +08:00
|
|
|
</PreBuildEvent>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<ClCompile Include="main.cpp" />
|
|
|
|
<ClCompile Include="..\Classes\AppDelegate.cpp" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<ClInclude Include="main.h" />
|
|
|
|
<ClInclude Include="..\Classes\AppDelegate.h" />
|
|
|
|
<ClInclude Include="resource.h" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<ResourceCompile Include="game.rc" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<Image Include="res\game.ico" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
2015-04-17 14:59:12 +08:00
|
|
|
<ProjectReference Include="..\..\cocos2d-x\cocos\scripting\js-bindings\proj.win32\libjscocos2d.vcxproj">
|
2015-04-15 17:49:33 +08:00
|
|
|
<Project>{39379840-825a-45a0-b363-c09ffef864bd}</Project>
|
|
|
|
</ProjectReference>
|
|
|
|
</ItemGroup>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
|
|
<ImportGroup Label="ExtensionTargets">
|
|
|
|
</ImportGroup>
|
|
|
|
</Project>
|