2013-02-18 14:38:00 +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">
|
2013-02-18 14:51:36 +08:00
|
|
|
|
<ProjectGuid>{3B0B58B1-2734-488E-A542-ECEC11EB2455}</ProjectGuid>
|
2013-02-18 14:38:00 +08:00
|
|
|
|
<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)' == '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)'=='Debug|Win32'" Label="Configuration">
|
|
|
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
|
|
|
<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 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" />
|
2013-06-23 17:25:34 +08:00
|
|
|
|
<Import Project="..\..\..\cocos2dx\proj.win32\cocos2dx.props" />
|
2013-02-18 14:38:00 +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" />
|
2013-06-23 17:25:34 +08:00
|
|
|
|
<Import Project="..\..\..\cocos2dx\proj.win32\cocos2dx.props" />
|
2013-02-18 14:38:00 +08:00
|
|
|
|
</ImportGroup>
|
|
|
|
|
<PropertyGroup Label="UserMacros" />
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
|
|
|
|
|
<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>
|
2013-02-20 14:30:05 +08:00
|
|
|
|
<TypeLibraryName>$(IntDir)game.tlb</TypeLibraryName>
|
|
|
|
|
<HeaderFileName>game.h</HeaderFileName>
|
2013-02-18 14:38:00 +08:00
|
|
|
|
<DllDataFileName>
|
|
|
|
|
</DllDataFileName>
|
2013-02-20 14:30:05 +08:00
|
|
|
|
<InterfaceIdentifierFileName>game_i.c</InterfaceIdentifierFileName>
|
|
|
|
|
<ProxyFileName>game_p.c</ProxyFileName>
|
2013-02-18 14:38:00 +08:00
|
|
|
|
</Midl>
|
|
|
|
|
<ClCompile>
|
|
|
|
|
<Optimization>Disabled</Optimization>
|
2013-02-18 16:25:21 +08:00
|
|
|
|
<AdditionalIncludeDirectories>$(ProjectDir)..\Classes;$(ProjectDir)..\..\..\scripting\javascript\spidermonkey-win32\include;$(ProjectDir)..\..\..\external\chipmunk\include\chipmunk;$(ProjectDir)..\..\..\extensions;$(ProjectDir)..\..\..\scripting\javascript\bindings;$(ProjectDir)..\..\..\cocos2dx;$(ProjectDir)..\..\..\cocos2dx\include;$(ProjectDir)..\..\..\cocos2dx\kazmath\include;$(ProjectDir)..\..\..\cocos2dx\platform\win32;$(ProjectDir)..\..\..\cocos2dx\platform\third_party\win32;$(ProjectDir)..\..\..\cocos2dx\platform\third_party\win32\OGLES;$(ProjectDir)..\..\..\CocosDenshion\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
2013-02-18 14:38:00 +08:00
|
|
|
|
<PreprocessorDefinitions>WIN32;_WINDOWS;STRICT;DEBUG;_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;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2013-06-23 17:25:34 +08:00
|
|
|
|
<MinimalRebuild>false</MinimalRebuild>
|
2013-02-18 14:38:00 +08:00
|
|
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
|
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
|
|
|
<PrecompiledHeader>
|
|
|
|
|
</PrecompiledHeader>
|
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
|
|
|
|
<DisableSpecificWarnings>4267;4251;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
2013-06-23 17:25:34 +08:00
|
|
|
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
2013-02-18 14:38:00 +08:00
|
|
|
|
</ClCompile>
|
|
|
|
|
<ResourceCompile>
|
|
|
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
|
<Culture>0x0409</Culture>
|
|
|
|
|
<AdditionalIncludeDirectories>$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\include;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
|
|
|
</ResourceCompile>
|
|
|
|
|
<PreLinkEvent>
|
|
|
|
|
<Command>if not exist "$(OutDir)" mkdir "$(OutDir)"
|
2013-02-18 16:25:21 +08:00
|
|
|
|
xcopy /Y /Q "$(ProjectDir)..\..\..\scripting\javascript\spidermonkey-win32\lib\*.*" "$(OutDir)"
|
2013-06-07 12:50:02 +08:00
|
|
|
|
xcopy /Y /Q "$(ProjectDir)..\..\..\external\libwebsockets\win32\lib\*.*" "$(OutDir)"</Command>
|
2013-02-18 14:38:00 +08:00
|
|
|
|
</PreLinkEvent>
|
|
|
|
|
<Link>
|
2013-08-23 11:24:50 +08:00
|
|
|
|
<AdditionalDependencies>libcocos2d.lib;libExtensions.lib;libCocosDenshion.lib;libchipmunk.lib;libJSBinding.lib;libcurl_imp.lib;mozjs-23.0.lib;ws2_32.lib;sqlite3.lib;websockets.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
2013-02-18 14:38:00 +08:00
|
|
|
|
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
|
|
|
</Link>
|
|
|
|
|
<PreBuildEvent>
|
|
|
|
|
<Command>if not exist "$(OutDir)" mkdir "$(OutDir)"
|
|
|
|
|
if exist "$(OutDir)\HelloJavascriptRes" rd /s /q "$(OutDir)\HelloJavascriptRes"
|
|
|
|
|
mkdir "$(OutDir)\HelloJavascriptRes"
|
2013-02-18 16:25:21 +08:00
|
|
|
|
xcopy "$(ProjectDir)..\..\..\scripting\javascript\bindings\js\*.js" "$(OutDir)\HelloJavascriptRes\" /e /Y
|
2013-02-18 14:51:36 +08:00
|
|
|
|
xcopy "$(ProjectDir)..\Resources" "$(OutDir)\HelloJavascriptRes\" /e /Y</Command>
|
2013-02-18 14:38:00 +08:00
|
|
|
|
</PreBuildEvent>
|
|
|
|
|
<PreBuildEvent>
|
|
|
|
|
<Message>Copy js and resource files.</Message>
|
|
|
|
|
</PreBuildEvent>
|
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
|
<Midl>
|
|
|
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
|
<MkTypLibCompatible>false</MkTypLibCompatible>
|
|
|
|
|
<TargetEnvironment>Win32</TargetEnvironment>
|
|
|
|
|
<GenerateStublessProxies>true</GenerateStublessProxies>
|
2013-02-20 14:30:05 +08:00
|
|
|
|
<TypeLibraryName>$(IntDir)game.tlb</TypeLibraryName>
|
|
|
|
|
<HeaderFileName>game.h</HeaderFileName>
|
2013-02-18 14:38:00 +08:00
|
|
|
|
<DllDataFileName>
|
|
|
|
|
</DllDataFileName>
|
2013-02-20 14:30:05 +08:00
|
|
|
|
<InterfaceIdentifierFileName>game_i.c</InterfaceIdentifierFileName>
|
|
|
|
|
<ProxyFileName>game_p.c</ProxyFileName>
|
2013-02-18 14:38:00 +08:00
|
|
|
|
</Midl>
|
|
|
|
|
<ClCompile>
|
2013-02-18 16:25:21 +08:00
|
|
|
|
<AdditionalIncludeDirectories>$(ProjectDir)..\Classes;$(ProjectDir)..\..\..\scripting\javascript\spidermonkey-win32\include;$(ProjectDir)..\..\..\external\chipmunk\include\chipmunk;$(ProjectDir)..\..\..\extensions;$(ProjectDir)..\..\..\scripting\javascript\bindings;$(ProjectDir)..\..\..\cocos2dx;$(ProjectDir)..\..\..\cocos2dx\include;$(ProjectDir)..\..\..\cocos2dx\kazmath\include;$(ProjectDir)..\..\..\cocos2dx\platform\win32;$(ProjectDir)..\..\..\cocos2dx\platform\third_party\win32;$(ProjectDir)..\..\..\cocos2dx\platform\third_party\win32\OGLES;$(ProjectDir)..\..\..\CocosDenshion\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
2013-02-18 14:38:00 +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;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
|
<ExceptionHandling>
|
|
|
|
|
</ExceptionHandling>
|
|
|
|
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
|
|
|
|
<PrecompiledHeader>
|
|
|
|
|
</PrecompiledHeader>
|
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
|
<DebugInformationFormat>
|
|
|
|
|
</DebugInformationFormat>
|
|
|
|
|
<DisableSpecificWarnings>4267;4251;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
2013-06-23 17:25:34 +08:00
|
|
|
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
2013-02-18 14:38:00 +08:00
|
|
|
|
</ClCompile>
|
|
|
|
|
<ResourceCompile>
|
|
|
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
|
<Culture>0x0409</Culture>
|
|
|
|
|
<AdditionalIncludeDirectories>$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\include;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
|
|
|
</ResourceCompile>
|
|
|
|
|
<PreLinkEvent>
|
|
|
|
|
<Command>if not exist "$(OutDir)" mkdir "$(OutDir)"
|
2013-02-18 16:25:21 +08:00
|
|
|
|
xcopy /Y /Q "$(ProjectDir)..\..\..\scripting\javascript\spidermonkey-win32\lib\*.*" "$(OutDir)"
|
2013-06-07 12:50:02 +08:00
|
|
|
|
xcopy /Y /Q "$(ProjectDir)..\..\..\external\libwebsockets\win32\lib\*.*" "$(OutDir)"</Command>
|
2013-02-18 14:38:00 +08:00
|
|
|
|
</PreLinkEvent>
|
|
|
|
|
<Link>
|
2013-08-23 11:24:50 +08:00
|
|
|
|
<AdditionalDependencies>libcocos2d.lib;libExtensions.lib;libCocosDenshion.lib;libchipmunk.lib;libJSBinding.lib;libcurl_imp.lib;mozjs-23.0.lib;ws2_32.lib;sqlite3.lib;websockets.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
2013-02-18 14:38:00 +08:00
|
|
|
|
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
|
|
|
</Link>
|
|
|
|
|
<PreBuildEvent>
|
|
|
|
|
<Command>if not exist "$(OutDir)" mkdir "$(OutDir)"
|
|
|
|
|
if exist "$(OutDir)\HelloJavascriptRes" rd /s /q "$(OutDir)\HelloJavascriptRes"
|
|
|
|
|
mkdir "$(OutDir)\HelloJavascriptRes"
|
2013-02-18 16:25:21 +08:00
|
|
|
|
xcopy "$(ProjectDir)..\..\..\scripting\javascript\bindings\js\*.js" "$(OutDir)\HelloJavascriptRes\" /e /Y
|
2013-02-18 14:51:36 +08:00
|
|
|
|
xcopy "$(ProjectDir)..\Resources" "$(OutDir)\HelloJavascriptRes\" /e /Y</Command>
|
2013-02-18 14:38:00 +08:00
|
|
|
|
<Message>Copy js and resource files.</Message>
|
|
|
|
|
</PreBuildEvent>
|
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ClCompile Include="main.cpp" />
|
|
|
|
|
<ClCompile Include="..\Classes\AppDelegate.cpp" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ClInclude Include="main.h" />
|
|
|
|
|
<ClInclude Include="resource.h" />
|
|
|
|
|
<ClInclude Include="..\Classes\AppDelegate.h" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
2013-02-20 14:30:05 +08:00
|
|
|
|
<None Include="res\game.ico" />
|
2013-02-18 14:38:00 +08:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
2013-02-20 14:30:05 +08:00
|
|
|
|
<ResourceCompile Include="game.rc" />
|
2013-02-18 14:38:00 +08:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
2013-02-18 16:25:21 +08:00
|
|
|
|
<ProjectReference Include="..\..\..\cocos2dx\proj.win32\cocos2d.vcxproj">
|
2013-02-18 14:38:00 +08:00
|
|
|
|
<Project>{98a51ba8-fc3a-415b-ac8f-8c7bd464e93e}</Project>
|
|
|
|
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
|
|
|
</ProjectReference>
|
2013-02-18 16:25:21 +08:00
|
|
|
|
<ProjectReference Include="..\..\..\CocosDenshion\proj.win32\CocosDenshion.vcxproj">
|
2013-02-18 14:38:00 +08:00
|
|
|
|
<Project>{f8edd7fa-9a51-4e80-baeb-860825d2eac6}</Project>
|
|
|
|
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
|
|
|
</ProjectReference>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
|
|
|
<ImportGroup Label="ExtensionTargets">
|
|
|
|
|
</ImportGroup>
|
|
|
|
|
</Project>
|