2012-07-23 11:57:34 +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>{D0F06A44-A245-4D13-A498-0120C203B539}</ProjectGuid>
|
|
|
|
|
<RootNamespace>TestJavascript</RootNamespace>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
|
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
|
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
|
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
|
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
|
|
|
</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" />
|
|
|
|
|
</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" />
|
|
|
|
|
</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>
|
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
|
|
|
<Midl>
|
|
|
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
|
<MkTypLibCompatible>false</MkTypLibCompatible>
|
|
|
|
|
<TargetEnvironment>Win32</TargetEnvironment>
|
|
|
|
|
<GenerateStublessProxies>true</GenerateStublessProxies>
|
|
|
|
|
<TypeLibraryName>$(IntDir)testjs.tlb</TypeLibraryName>
|
|
|
|
|
<HeaderFileName>testjs.h</HeaderFileName>
|
|
|
|
|
<DllDataFileName>
|
|
|
|
|
</DllDataFileName>
|
|
|
|
|
<InterfaceIdentifierFileName>testjs_i.c</InterfaceIdentifierFileName>
|
|
|
|
|
<ProxyFileName>testjs_p.c</ProxyFileName>
|
|
|
|
|
</Midl>
|
|
|
|
|
<ClCompile>
|
|
|
|
|
<Optimization>Disabled</Optimization>
|
2012-10-17 15:08:25 +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>
|
2012-07-23 11:57:34 +08:00
|
|
|
|
<PreprocessorDefinitions>WIN32;_WINDOWS;STRICT;_DEBUG;XP_WIN;JS_HAVE___INTN;JS_INTPTR_TYPE=int;COCOS2D_DEBUG=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
|
<MinimalRebuild>true</MinimalRebuild>
|
|
|
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
|
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
|
|
|
<PrecompiledHeader>
|
|
|
|
|
</PrecompiledHeader>
|
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
|
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
|
|
|
|
<DisableSpecificWarnings>4267;4251;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
|
|
|
|
</ClCompile>
|
|
|
|
|
<ResourceCompile>
|
|
|
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
|
<Culture>0x0409</Culture>
|
|
|
|
|
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
|
|
|
</ResourceCompile>
|
|
|
|
|
<PreLinkEvent>
|
|
|
|
|
<Command>if not exist "$(OutDir)" mkdir "$(OutDir)"
|
2012-09-15 22:34:31 +08:00
|
|
|
|
xcopy /Y /Q "$(ProjectDir)..\..\..\scripting\javascript\spidermonkey-win32\lib\*.*" "$(OutDir)"
|
2012-07-23 11:57:34 +08:00
|
|
|
|
</Command>
|
|
|
|
|
</PreLinkEvent>
|
|
|
|
|
<Link>
|
2012-10-19 11:15:23 +08:00
|
|
|
|
<AdditionalDependencies>libcocos2d.lib;libExtensions.lib;opengl32.lib;glew32.lib;libCocosDenshion.lib;libchipmunk.lib;mozjs.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
2012-07-23 11:57:34 +08:00
|
|
|
|
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
|
|
|
</Link>
|
2012-10-12 15:14:47 +08:00
|
|
|
|
<PreBuildEvent>
|
|
|
|
|
<Command>if not exist "$(OutDir)" mkdir "$(OutDir)"
|
|
|
|
|
if exist "$(OutDir)\TestJavascriptRes" rd /s /q "$(OutDir)\TestJavascriptRes"
|
|
|
|
|
mkdir "$(OutDir)\TestJavascriptRes"
|
|
|
|
|
xcopy "$(ProjectDir)..\cocos2d-html5-tests\res" "$(OutDir)\TestJavascriptRes\res\" /e /Y
|
|
|
|
|
xcopy "$(ProjectDir)..\bindings\*.js" "$(OutDir)\TestJavascriptRes" /e /Y
|
|
|
|
|
dir "$(ProjectDir)..\cocos2d-html5-tests\src\*.js" /a /b /s > filelist.txt
|
|
|
|
|
for /f %%I in (filelist.txt) do (copy /Y %%I "$(OutDir)\TestJavascriptRes")
|
|
|
|
|
if exist filelist.txt del /f /q filelist.txt
|
|
|
|
|
</Command>
|
|
|
|
|
</PreBuildEvent>
|
|
|
|
|
<PreBuildEvent>
|
|
|
|
|
<Message>Copy js and resource files.</Message>
|
|
|
|
|
</PreBuildEvent>
|
2012-07-23 11:57:34 +08:00
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
|
<Midl>
|
|
|
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
|
<MkTypLibCompatible>false</MkTypLibCompatible>
|
|
|
|
|
<TargetEnvironment>Win32</TargetEnvironment>
|
|
|
|
|
<GenerateStublessProxies>true</GenerateStublessProxies>
|
|
|
|
|
<TypeLibraryName>$(IntDir)testjs.tlb</TypeLibraryName>
|
|
|
|
|
<HeaderFileName>testjs.h</HeaderFileName>
|
|
|
|
|
<DllDataFileName>
|
|
|
|
|
</DllDataFileName>
|
|
|
|
|
<InterfaceIdentifierFileName>testjs_i.c</InterfaceIdentifierFileName>
|
|
|
|
|
<ProxyFileName>testjs_p.c</ProxyFileName>
|
|
|
|
|
</Midl>
|
|
|
|
|
<ClCompile>
|
2012-10-17 15:08:25 +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>
|
2012-07-23 11:57:34 +08:00
|
|
|
|
<PreprocessorDefinitions>WIN32;_WINDOWS;STRICT;NDEBUG;XP_WIN;JS_HAVE___INTN;JS_INTPTR_TYPE=int;_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>
|
|
|
|
|
</ClCompile>
|
|
|
|
|
<ResourceCompile>
|
|
|
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
|
<Culture>0x0409</Culture>
|
|
|
|
|
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
|
|
|
</ResourceCompile>
|
|
|
|
|
<PreLinkEvent>
|
|
|
|
|
<Command>if not exist "$(OutDir)" mkdir "$(OutDir)"
|
2012-09-15 22:34:31 +08:00
|
|
|
|
xcopy /Y /Q "$(ProjectDir)..\..\..\scripting\javascript\spidermonkey-win32\lib\*.*" "$(OutDir)"
|
2012-07-23 11:57:34 +08:00
|
|
|
|
</Command>
|
|
|
|
|
</PreLinkEvent>
|
|
|
|
|
<Link>
|
2012-09-24 11:47:33 +08:00
|
|
|
|
<AdditionalDependencies>libcocos2d.lib;libExtensions.lib;opengl32.lib;glew32.lib;libCocosDenshion.lib;libchipmunk.lib;mozjs.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
2012-07-23 11:57:34 +08:00
|
|
|
|
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
|
|
|
</Link>
|
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
<ItemGroup>
|
2012-08-31 22:01:57 +08:00
|
|
|
|
<ClCompile Include="..\..\..\scripting\javascript\bindings\CCPhysicsSprite.cpp" />
|
|
|
|
|
<ClCompile Include="..\..\..\scripting\javascript\bindings\cocos2d_specifics.cpp" />
|
2012-09-24 11:05:15 +08:00
|
|
|
|
<ClCompile Include="..\..\..\scripting\javascript\bindings\cocosjs_manual_conversions.cpp" />
|
|
|
|
|
<ClCompile Include="..\..\..\scripting\javascript\bindings\generated\cocos2dx.cpp" />
|
|
|
|
|
<ClCompile Include="..\..\..\scripting\javascript\bindings\js_bindings_ccbreader.cpp" />
|
2012-08-31 22:01:57 +08:00
|
|
|
|
<ClCompile Include="..\..\..\scripting\javascript\bindings\js_bindings_chipmunk_functions.cpp" />
|
|
|
|
|
<ClCompile Include="..\..\..\scripting\javascript\bindings\js_bindings_chipmunk_manual.cpp" />
|
|
|
|
|
<ClCompile Include="..\..\..\scripting\javascript\bindings\js_manual_conversions.cpp" />
|
2012-07-23 11:57:34 +08:00
|
|
|
|
<ClCompile Include="..\..\..\scripting\javascript\bindings\ScriptingCore.cpp" />
|
|
|
|
|
<ClCompile Include="main.cpp" />
|
|
|
|
|
<ClCompile Include="..\Classes\AppDelegate.cpp" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
2012-08-31 22:01:57 +08:00
|
|
|
|
<ClInclude Include="..\..\..\scripting\javascript\bindings\CCPhysicsSprite.h" />
|
|
|
|
|
<ClInclude Include="..\..\..\scripting\javascript\bindings\cocos2d_specifics.hpp" />
|
2012-09-24 11:05:15 +08:00
|
|
|
|
<ClInclude Include="..\..\..\scripting\javascript\bindings\cocosjs_manual_conversions.h" />
|
|
|
|
|
<ClInclude Include="..\..\..\scripting\javascript\bindings\generated\cocos2dx.hpp" />
|
|
|
|
|
<ClInclude Include="..\..\..\scripting\javascript\bindings\js_bindings_ccbreader.h" />
|
2012-08-31 22:01:57 +08:00
|
|
|
|
<ClInclude Include="..\..\..\scripting\javascript\bindings\js_bindings_chipmunk_functions.hpp" />
|
|
|
|
|
<ClInclude Include="..\..\..\scripting\javascript\bindings\js_bindings_chipmunk_manual.hpp" />
|
|
|
|
|
<ClInclude Include="..\..\..\scripting\javascript\bindings\js_bindings_config.h" />
|
|
|
|
|
<ClInclude Include="..\..\..\scripting\javascript\bindings\js_manual_conversions.h" />
|
2012-07-23 11:57:34 +08:00
|
|
|
|
<ClInclude Include="..\..\..\scripting\javascript\bindings\ScriptingCore.h" />
|
2012-08-31 22:01:57 +08:00
|
|
|
|
<ClInclude Include="..\..\..\scripting\javascript\bindings\spidermonkey_specifics.h" />
|
2012-07-23 11:57:34 +08:00
|
|
|
|
<ClInclude Include="main.h" />
|
|
|
|
|
<ClInclude Include="resource.h" />
|
|
|
|
|
<ClInclude Include="..\Classes\AppDelegate.h" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<None Include="res\testjs.ico" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ResourceCompile Include="testjs.rc" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ProjectReference Include="..\..\..\cocos2dx\proj.win32\cocos2d.vcxproj">
|
|
|
|
|
<Project>{98a51ba8-fc3a-415b-ac8f-8c7bd464e93e}</Project>
|
|
|
|
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
|
|
|
</ProjectReference>
|
|
|
|
|
<ProjectReference Include="..\..\..\CocosDenshion\proj.win32\CocosDenshion.vcxproj">
|
|
|
|
|
<Project>{f8edd7fa-9a51-4e80-baeb-860825d2eac6}</Project>
|
|
|
|
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
|
|
|
</ProjectReference>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
|
|
|
<ImportGroup Label="ExtensionTargets">
|
|
|
|
|
</ImportGroup>
|
|
|
|
|
</Project>
|