2012-05-28 17:33:32 +08:00
|
|
|
<?xml version="1.0" encoding="gb2312"?>
|
2012-05-27 22:53:48 +08:00
|
|
|
<VisualStudioProject
|
|
|
|
ProjectType="Visual C++"
|
|
|
|
Version="9.00"
|
2012-07-20 14:05:52 +08:00
|
|
|
Name="TestJavascript"
|
2012-05-27 22:53:48 +08:00
|
|
|
ProjectGUID="{D0F06A44-A245-4D13-A498-0120C203B539}"
|
2012-07-20 14:05:52 +08:00
|
|
|
RootNamespace="TestJavascript"
|
2012-05-27 22:53:48 +08:00
|
|
|
TargetFrameworkVersion="196613"
|
|
|
|
>
|
|
|
|
<Platforms>
|
|
|
|
<Platform
|
|
|
|
Name="Win32"
|
|
|
|
/>
|
|
|
|
</Platforms>
|
|
|
|
<ToolFiles>
|
|
|
|
</ToolFiles>
|
|
|
|
<Configurations>
|
|
|
|
<Configuration
|
|
|
|
Name="Debug|Win32"
|
|
|
|
OutputDirectory="$(SolutionDir)$(ConfigurationName).win32"
|
|
|
|
IntermediateDirectory="$(ConfigurationName).win32"
|
|
|
|
ConfigurationType="1"
|
|
|
|
CharacterSet="1"
|
|
|
|
>
|
|
|
|
<Tool
|
|
|
|
Name="VCPreBuildEventTool"
|
2012-10-12 15:42:00 +08:00
|
|
|
Description="Copy js and resource files."
|
|
|
|
CommandLine="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
"
|
2012-05-27 22:53:48 +08:00
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCCustomBuildTool"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCXMLDataGeneratorTool"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCWebServiceProxyGeneratorTool"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCMIDLTool"
|
|
|
|
PreprocessorDefinitions="_DEBUG"
|
|
|
|
MkTypLibCompatible="false"
|
|
|
|
TargetEnvironment="1"
|
|
|
|
GenerateStublessProxies="true"
|
|
|
|
TypeLibraryName="$(IntDir)/testjs.tlb"
|
|
|
|
HeaderFileName="testjs.h"
|
|
|
|
DLLDataFileName=""
|
|
|
|
InterfaceIdentifierFileName="testjs_i.c"
|
|
|
|
ProxyFileName="testjs_p.c"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCCLCompilerTool"
|
|
|
|
Optimization="0"
|
2012-09-24 11:05:15 +08:00
|
|
|
AdditionalIncludeDirectories=".;..\Classes;"$(SolutionDir)scripting\javascript\spidermonkey-win32\include";"$(SolutionDir)scripting\javascript\bindings";"$(SolutionDir)external\chipmunk\include\chipmunk";"$(SolutionDir)extensions";"$(SolutionDir)cocos2dx";"$(SolutionDir)cocos2dx\include";"$(SolutionDir)cocos2dx\kazmath\include";"$(SolutionDir)cocos2dx\platform\win32";"$(SolutionDir)cocos2dx\platform\third_party\win32";"$(SolutionDir)cocos2dx\platform\third_party\win32\OGLES";"$(SolutionDir)CocosDenshion\include""
|
2012-08-29 14:52:30 +08:00
|
|
|
PreprocessorDefinitions="WIN32;_WINDOWS;STRICT;DEBUG;_DEBUG;TRACING;XP_WIN;JS_HAVE___INTN;JS_INTPTR_TYPE=int;COCOS2D_DEBUG=1;COCOS2D_JAVASCRIPT;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS"
|
2012-05-27 22:53:48 +08:00
|
|
|
MinimalRebuild="true"
|
|
|
|
BasicRuntimeChecks="3"
|
|
|
|
RuntimeLibrary="3"
|
|
|
|
UsePrecompiledHeader="0"
|
|
|
|
WarningLevel="3"
|
|
|
|
DebugInformationFormat="4"
|
2012-06-27 00:10:27 +08:00
|
|
|
DisableSpecificWarnings="4267;4251;4244"
|
2012-05-27 22:53:48 +08:00
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCManagedResourceCompilerTool"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCResourceCompilerTool"
|
|
|
|
PreprocessorDefinitions="_DEBUG"
|
|
|
|
Culture="1033"
|
|
|
|
AdditionalIncludeDirectories="$(IntDir)"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCPreLinkEventTool"
|
2012-10-12 15:42:00 +08:00
|
|
|
CommandLine="if not exist "$(OutDir)" mkdir "$(OutDir)"
xcopy /Y /Q "$(SolutionDir)scripting\javascript\spidermonkey-win32\lib\*.*" "$(OutDir)"
"
|
2012-05-27 22:53:48 +08:00
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCLinkerTool"
|
2012-10-20 09:29:20 +08:00
|
|
|
AdditionalDependencies="libcocos2d.lib libCocosDenshion.lib libchipmunk.lib mozjs.lib opengl32.lib glew32.lib ws2_32.lib"
|
2012-06-26 23:26:16 +08:00
|
|
|
LinkIncremental="1"
|
2012-05-28 11:27:50 +08:00
|
|
|
AdditionalLibraryDirectories=""$(OutDir)""
|
2012-05-27 22:53:48 +08:00
|
|
|
GenerateDebugInformation="true"
|
|
|
|
SubSystem="2"
|
|
|
|
TargetMachine="1"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCALinkTool"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCManifestTool"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCXDCMakeTool"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCBscMakeTool"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCFxCopTool"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCAppVerifierTool"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCPostBuildEventTool"
|
|
|
|
/>
|
|
|
|
</Configuration>
|
|
|
|
<Configuration
|
|
|
|
Name="Release|Win32"
|
|
|
|
OutputDirectory="$(SolutionDir)$(ConfigurationName).win32"
|
|
|
|
IntermediateDirectory="$(ConfigurationName).win32"
|
|
|
|
ConfigurationType="1"
|
|
|
|
CharacterSet="1"
|
|
|
|
>
|
|
|
|
<Tool
|
|
|
|
Name="VCPreBuildEventTool"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCCustomBuildTool"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCXMLDataGeneratorTool"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCWebServiceProxyGeneratorTool"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCMIDLTool"
|
|
|
|
PreprocessorDefinitions="NDEBUG"
|
|
|
|
MkTypLibCompatible="false"
|
|
|
|
TargetEnvironment="1"
|
|
|
|
GenerateStublessProxies="true"
|
|
|
|
TypeLibraryName="$(IntDir)/testjs.tlb"
|
|
|
|
HeaderFileName="testjs.h"
|
|
|
|
DLLDataFileName=""
|
|
|
|
InterfaceIdentifierFileName="testjs_i.c"
|
|
|
|
ProxyFileName="testjs_p.c"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCCLCompilerTool"
|
2012-09-24 11:05:15 +08:00
|
|
|
AdditionalIncludeDirectories=".;..\Classes;"$(SolutionDir)scripting\javascript\spidermonkey-win32\include";"$(SolutionDir)scripting\javascript\bindings";"$(SolutionDir)external\chipmunk\include\chipmunk";"$(SolutionDir)extensions";"$(SolutionDir)cocos2dx";"$(SolutionDir)cocos2dx\include";"$(SolutionDir)cocos2dx\kazmath\include";"$(SolutionDir)cocos2dx\platform\win32";"$(SolutionDir)cocos2dx\platform\third_party\win32";"$(SolutionDir)cocos2dx\platform\third_party\win32\OGLES";"$(SolutionDir)CocosDenshion\include""
|
2012-08-31 21:23:23 +08:00
|
|
|
PreprocessorDefinitions="WIN32;_WINDOWS;STRICT;NDEBUG;COCOS2D_JAVASCRIPT;XP_WIN;JS_HAVE___INTN;JS_INTPTR_TYPE=int;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS"
|
2012-05-27 22:53:48 +08:00
|
|
|
ExceptionHandling="0"
|
|
|
|
RuntimeLibrary="2"
|
|
|
|
UsePrecompiledHeader="0"
|
|
|
|
WarningLevel="3"
|
|
|
|
DebugInformationFormat="0"
|
2012-06-27 00:10:27 +08:00
|
|
|
DisableSpecificWarnings="4267;4251;4244"
|
2012-05-27 22:53:48 +08:00
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCManagedResourceCompilerTool"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCResourceCompilerTool"
|
|
|
|
PreprocessorDefinitions="NDEBUG"
|
|
|
|
Culture="1033"
|
|
|
|
AdditionalIncludeDirectories="$(IntDir)"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCPreLinkEventTool"
|
2012-07-20 14:05:52 +08:00
|
|
|
CommandLine="if not exist "$(OutDir)" mkdir "$(OutDir)"
xcopy /Y /Q "$(SolutionDir)scripting\javascript\spidermonkey-win32\lib\*.*" "$(OutDir)"
"
|
2012-05-27 22:53:48 +08:00
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCLinkerTool"
|
2012-10-20 09:29:20 +08:00
|
|
|
AdditionalDependencies="libcocos2d.lib libCocosDenshion.lib libchipmunk.lib mozjs.lib opengl32.lib glew32.lib ws2_32.lib"
|
2012-05-27 22:53:48 +08:00
|
|
|
LinkIncremental="1"
|
|
|
|
AdditionalLibraryDirectories="$(OutDir)"
|
|
|
|
SubSystem="2"
|
|
|
|
TargetMachine="1"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCALinkTool"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCManifestTool"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCXDCMakeTool"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCBscMakeTool"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCFxCopTool"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCAppVerifierTool"
|
|
|
|
/>
|
|
|
|
<Tool
|
|
|
|
Name="VCPostBuildEventTool"
|
|
|
|
/>
|
|
|
|
</Configuration>
|
|
|
|
</Configurations>
|
|
|
|
<References>
|
|
|
|
</References>
|
|
|
|
<Files>
|
|
|
|
<Filter
|
2012-07-20 14:05:52 +08:00
|
|
|
Name="bindings"
|
2012-05-27 22:53:48 +08:00
|
|
|
>
|
2012-08-30 23:10:09 +08:00
|
|
|
<File
|
|
|
|
RelativePath="..\..\..\scripting\javascript\bindings\CCPhysicsSprite.cpp"
|
|
|
|
>
|
|
|
|
</File>
|
|
|
|
<File
|
|
|
|
RelativePath="..\..\..\scripting\javascript\bindings\CCPhysicsSprite.h"
|
|
|
|
>
|
|
|
|
</File>
|
2012-05-27 22:53:48 +08:00
|
|
|
<File
|
2012-08-29 14:52:30 +08:00
|
|
|
RelativePath="..\..\..\scripting\javascript\bindings\cocos2d_specifics.cpp"
|
2012-05-27 22:53:48 +08:00
|
|
|
>
|
|
|
|
</File>
|
|
|
|
<File
|
2012-08-29 14:52:30 +08:00
|
|
|
RelativePath="..\..\..\scripting\javascript\bindings\cocos2d_specifics.hpp"
|
2012-05-27 22:53:48 +08:00
|
|
|
>
|
|
|
|
</File>
|
|
|
|
<File
|
2012-09-24 11:05:15 +08:00
|
|
|
RelativePath="..\..\..\scripting\javascript\bindings\cocosjs_manual_conversions.cpp"
|
2012-05-27 22:53:48 +08:00
|
|
|
>
|
|
|
|
</File>
|
|
|
|
<File
|
2012-09-24 11:05:15 +08:00
|
|
|
RelativePath="..\..\..\scripting\javascript\bindings\cocosjs_manual_conversions.h"
|
|
|
|
>
|
|
|
|
</File>
|
|
|
|
<File
|
|
|
|
RelativePath="..\..\..\scripting\javascript\bindings\js_bindings_ccbreader.cpp"
|
|
|
|
>
|
|
|
|
</File>
|
|
|
|
<File
|
|
|
|
RelativePath="..\..\..\scripting\javascript\bindings\js_bindings_ccbreader.h"
|
2012-05-27 22:53:48 +08:00
|
|
|
>
|
|
|
|
</File>
|
|
|
|
<File
|
2012-08-30 23:10:09 +08:00
|
|
|
RelativePath="..\..\..\scripting\javascript\bindings\js_bindings_chipmunk_functions.cpp"
|
|
|
|
>
|
|
|
|
</File>
|
|
|
|
<File
|
|
|
|
RelativePath="..\..\..\scripting\javascript\bindings\js_bindings_chipmunk_functions.hpp"
|
|
|
|
>
|
|
|
|
</File>
|
|
|
|
<File
|
|
|
|
RelativePath="..\..\..\scripting\javascript\bindings\js_bindings_chipmunk_manual.cpp"
|
|
|
|
>
|
|
|
|
</File>
|
|
|
|
<File
|
|
|
|
RelativePath="..\..\..\scripting\javascript\bindings\js_bindings_chipmunk_manual.hpp"
|
|
|
|
>
|
|
|
|
</File>
|
|
|
|
<File
|
|
|
|
RelativePath="..\..\..\scripting\javascript\bindings\js_bindings_config.h"
|
|
|
|
>
|
|
|
|
</File>
|
|
|
|
<File
|
|
|
|
RelativePath="..\..\..\scripting\javascript\bindings\js_manual_conversions.cpp"
|
2012-08-29 14:52:30 +08:00
|
|
|
>
|
|
|
|
</File>
|
|
|
|
<File
|
2012-08-30 23:10:09 +08:00
|
|
|
RelativePath="..\..\..\scripting\javascript\bindings\js_manual_conversions.h"
|
2012-05-27 22:53:48 +08:00
|
|
|
>
|
|
|
|
</File>
|
|
|
|
<File
|
2012-07-20 14:05:52 +08:00
|
|
|
RelativePath="..\..\..\scripting\javascript\bindings\ScriptingCore.cpp"
|
2012-05-27 22:53:48 +08:00
|
|
|
>
|
|
|
|
</File>
|
|
|
|
<File
|
2012-07-20 14:05:52 +08:00
|
|
|
RelativePath="..\..\..\scripting\javascript\bindings\ScriptingCore.h"
|
2012-05-27 22:53:48 +08:00
|
|
|
>
|
|
|
|
</File>
|
2012-08-29 14:52:30 +08:00
|
|
|
<File
|
|
|
|
RelativePath="..\..\..\scripting\javascript\bindings\spidermonkey_specifics.h"
|
|
|
|
>
|
|
|
|
</File>
|
2012-09-24 11:05:15 +08:00
|
|
|
<Filter
|
|
|
|
Name="generated"
|
|
|
|
>
|
|
|
|
<File
|
|
|
|
RelativePath="..\..\..\scripting\javascript\bindings\generated\cocos2dx.cpp"
|
|
|
|
>
|
|
|
|
</File>
|
|
|
|
<File
|
|
|
|
RelativePath="..\..\..\scripting\javascript\bindings\generated\cocos2dx.hpp"
|
|
|
|
>
|
|
|
|
</File>
|
|
|
|
</Filter>
|
2012-05-27 22:53:48 +08:00
|
|
|
</Filter>
|
|
|
|
<Filter
|
|
|
|
Name="resource"
|
|
|
|
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;jpg;jpeg;jpe;png;manifest"
|
|
|
|
>
|
|
|
|
<File
|
|
|
|
RelativePath=".\res\testjs.ico"
|
|
|
|
>
|
|
|
|
</File>
|
|
|
|
<File
|
|
|
|
RelativePath=".\testjs.rc"
|
|
|
|
>
|
|
|
|
</File>
|
|
|
|
</Filter>
|
|
|
|
<Filter
|
|
|
|
Name="win32"
|
|
|
|
>
|
|
|
|
<File
|
|
|
|
RelativePath=".\main.cpp"
|
|
|
|
>
|
|
|
|
</File>
|
|
|
|
<File
|
|
|
|
RelativePath=".\main.h"
|
|
|
|
>
|
|
|
|
</File>
|
|
|
|
<File
|
|
|
|
RelativePath=".\resource.h"
|
|
|
|
>
|
|
|
|
</File>
|
|
|
|
</Filter>
|
|
|
|
<Filter
|
|
|
|
Name="Classes"
|
|
|
|
>
|
|
|
|
<File
|
|
|
|
RelativePath="..\Classes\AppDelegate.cpp"
|
|
|
|
>
|
|
|
|
</File>
|
|
|
|
<File
|
|
|
|
RelativePath="..\Classes\AppDelegate.h"
|
|
|
|
>
|
|
|
|
</File>
|
|
|
|
</Filter>
|
|
|
|
</Files>
|
|
|
|
<Globals>
|
|
|
|
</Globals>
|
|
|
|
</VisualStudioProject>
|