Skip to content

Commit bcfe035

Browse files
committed
fixed #177 build chipmunk on win32 ok.
1 parent 7df52f2 commit bcfe035

File tree

2 files changed

+380
-0
lines changed

2 files changed

+380
-0
lines changed

chipmunk/chipmunk-win32.vcproj

+374
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,374 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<VisualStudioProject
3+
ProjectType="Visual C++"
4+
Version="9.00"
5+
Name="chipmunk-win32"
6+
ProjectGUID="{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}"
7+
Keyword="Win32Proj"
8+
TargetFrameworkVersion="0"
9+
>
10+
<Platforms>
11+
<Platform
12+
Name="Win32"
13+
/>
14+
</Platforms>
15+
<ToolFiles>
16+
</ToolFiles>
17+
<Configurations>
18+
<Configuration
19+
Name="Debug|Win32"
20+
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
21+
IntermediateDirectory="$(ConfigurationName)"
22+
ConfigurationType="4"
23+
CharacterSet="1"
24+
>
25+
<Tool
26+
Name="VCPreBuildEventTool"
27+
/>
28+
<Tool
29+
Name="VCCustomBuildTool"
30+
/>
31+
<Tool
32+
Name="VCXMLDataGeneratorTool"
33+
/>
34+
<Tool
35+
Name="VCWebServiceProxyGeneratorTool"
36+
/>
37+
<Tool
38+
Name="VCMIDLTool"
39+
/>
40+
<Tool
41+
Name="VCCLCompilerTool"
42+
Optimization="0"
43+
AdditionalIncludeDirectories="include\chipmunk"
44+
PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
45+
MinimalRebuild="true"
46+
BasicRuntimeChecks="3"
47+
RuntimeLibrary="3"
48+
TreatWChar_tAsBuiltInType="false"
49+
UsePrecompiledHeader="0"
50+
WarningLevel="3"
51+
Detect64BitPortabilityProblems="true"
52+
DebugInformationFormat="4"
53+
CompileAs="2"
54+
DisableSpecificWarnings="4068;4996"
55+
/>
56+
<Tool
57+
Name="VCManagedResourceCompilerTool"
58+
/>
59+
<Tool
60+
Name="VCResourceCompilerTool"
61+
/>
62+
<Tool
63+
Name="VCPreLinkEventTool"
64+
/>
65+
<Tool
66+
Name="VCLibrarianTool"
67+
/>
68+
<Tool
69+
Name="VCALinkTool"
70+
/>
71+
<Tool
72+
Name="VCXDCMakeTool"
73+
/>
74+
<Tool
75+
Name="VCBscMakeTool"
76+
/>
77+
<Tool
78+
Name="VCFxCopTool"
79+
/>
80+
<Tool
81+
Name="VCPostBuildEventTool"
82+
/>
83+
</Configuration>
84+
<Configuration
85+
Name="Release|Win32"
86+
OutputDirectory="$(SolutionDir)$(ConfigurationName)"
87+
IntermediateDirectory="$(ConfigurationName)"
88+
ConfigurationType="4"
89+
CharacterSet="1"
90+
>
91+
<Tool
92+
Name="VCPreBuildEventTool"
93+
/>
94+
<Tool
95+
Name="VCCustomBuildTool"
96+
/>
97+
<Tool
98+
Name="VCXMLDataGeneratorTool"
99+
/>
100+
<Tool
101+
Name="VCWebServiceProxyGeneratorTool"
102+
/>
103+
<Tool
104+
Name="VCMIDLTool"
105+
/>
106+
<Tool
107+
Name="VCCLCompilerTool"
108+
AdditionalIncludeDirectories="include\chipmunk"
109+
PreprocessorDefinitions="WIN32;NDEBUG;_LIB;"
110+
RuntimeLibrary="2"
111+
TreatWChar_tAsBuiltInType="false"
112+
UsePrecompiledHeader="0"
113+
WarningLevel="3"
114+
Detect64BitPortabilityProblems="true"
115+
DebugInformationFormat="3"
116+
CompileAs="2"
117+
DisableSpecificWarnings="4068;4996"
118+
/>
119+
<Tool
120+
Name="VCManagedResourceCompilerTool"
121+
/>
122+
<Tool
123+
Name="VCResourceCompilerTool"
124+
/>
125+
<Tool
126+
Name="VCPreLinkEventTool"
127+
/>
128+
<Tool
129+
Name="VCLibrarianTool"
130+
/>
131+
<Tool
132+
Name="VCALinkTool"
133+
/>
134+
<Tool
135+
Name="VCXDCMakeTool"
136+
/>
137+
<Tool
138+
Name="VCBscMakeTool"
139+
/>
140+
<Tool
141+
Name="VCFxCopTool"
142+
/>
143+
<Tool
144+
Name="VCPostBuildEventTool"
145+
/>
146+
</Configuration>
147+
</Configurations>
148+
<References>
149+
</References>
150+
<Files>
151+
<Filter
152+
Name="include"
153+
Filter="h;hpp;hxx;hm;inl;inc;xsd"
154+
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
155+
>
156+
<File
157+
RelativePath=".\include\chipmunk\chipmunk.h"
158+
>
159+
</File>
160+
<File
161+
RelativePath=".\include\chipmunk\chipmunk_ffi.h"
162+
>
163+
</File>
164+
<File
165+
RelativePath=".\include\chipmunk\chipmunk_types.h"
166+
>
167+
</File>
168+
<File
169+
RelativePath=".\include\chipmunk\chipmunk_unsafe.h"
170+
>
171+
</File>
172+
<File
173+
RelativePath=".\include\chipmunk\cpArbiter.h"
174+
>
175+
</File>
176+
<File
177+
RelativePath=".\include\chipmunk\cpArray.h"
178+
>
179+
</File>
180+
<File
181+
RelativePath=".\include\chipmunk\cpBB.h"
182+
>
183+
</File>
184+
<File
185+
RelativePath=".\include\chipmunk\cpBody.h"
186+
>
187+
</File>
188+
<File
189+
RelativePath=".\include\chipmunk\cpCollision.h"
190+
>
191+
</File>
192+
<File
193+
RelativePath=".\include\chipmunk\constraints\cpConstraint.h"
194+
>
195+
</File>
196+
<File
197+
RelativePath=".\include\chipmunk\constraints\cpDampedRotarySpring.h"
198+
>
199+
</File>
200+
<File
201+
RelativePath=".\include\chipmunk\constraints\cpDampedSpring.h"
202+
>
203+
</File>
204+
<File
205+
RelativePath=".\include\chipmunk\constraints\cpGearJoint.h"
206+
>
207+
</File>
208+
<File
209+
RelativePath=".\include\chipmunk\constraints\cpGrooveJoint.h"
210+
>
211+
</File>
212+
<File
213+
RelativePath=".\include\chipmunk\cpHashSet.h"
214+
>
215+
</File>
216+
<File
217+
RelativePath=".\include\chipmunk\constraints\cpPinJoint.h"
218+
>
219+
</File>
220+
<File
221+
RelativePath=".\include\chipmunk\constraints\cpPivotJoint.h"
222+
>
223+
</File>
224+
<File
225+
RelativePath=".\include\chipmunk\cpPolyShape.h"
226+
>
227+
</File>
228+
<File
229+
RelativePath=".\include\chipmunk\constraints\cpRatchetJoint.h"
230+
>
231+
</File>
232+
<File
233+
RelativePath=".\include\chipmunk\constraints\cpRotaryLimitJoint.h"
234+
>
235+
</File>
236+
<File
237+
RelativePath=".\include\chipmunk\cpShape.h"
238+
>
239+
</File>
240+
<File
241+
RelativePath=".\include\chipmunk\constraints\cpSimpleMotor.h"
242+
>
243+
</File>
244+
<File
245+
RelativePath=".\include\chipmunk\constraints\cpSlideJoint.h"
246+
>
247+
</File>
248+
<File
249+
RelativePath=".\include\chipmunk\cpSpace.h"
250+
>
251+
</File>
252+
<File
253+
RelativePath=".\include\chipmunk\cpSpaceHash.h"
254+
>
255+
</File>
256+
<File
257+
RelativePath=".\include\chipmunk\cpVect.h"
258+
>
259+
</File>
260+
<File
261+
RelativePath=".\src\prime.h"
262+
>
263+
</File>
264+
<File
265+
RelativePath=".\include\chipmunk\constraints\util.h"
266+
>
267+
</File>
268+
</Filter>
269+
<Filter
270+
Name="src"
271+
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
272+
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
273+
>
274+
<File
275+
RelativePath=".\src\chipmunk.c"
276+
>
277+
</File>
278+
<File
279+
RelativePath=".\src\cpArbiter.c"
280+
>
281+
</File>
282+
<File
283+
RelativePath=".\src\cpArray.c"
284+
>
285+
</File>
286+
<File
287+
RelativePath=".\src\cpBB.c"
288+
>
289+
</File>
290+
<File
291+
RelativePath=".\src\cpBody.c"
292+
>
293+
</File>
294+
<File
295+
RelativePath=".\src\cpCollision.c"
296+
>
297+
</File>
298+
<File
299+
RelativePath=".\src\constraints\cpConstraint.c"
300+
>
301+
</File>
302+
<File
303+
RelativePath=".\src\constraints\cpDampedRotarySpring.c"
304+
>
305+
</File>
306+
<File
307+
RelativePath=".\src\constraints\cpDampedSpring.c"
308+
>
309+
</File>
310+
<File
311+
RelativePath=".\src\constraints\cpGearJoint.c"
312+
>
313+
</File>
314+
<File
315+
RelativePath=".\src\constraints\cpGrooveJoint.c"
316+
>
317+
</File>
318+
<File
319+
RelativePath=".\src\cpHashSet.c"
320+
>
321+
</File>
322+
<File
323+
RelativePath=".\src\constraints\cpPinJoint.c"
324+
>
325+
</File>
326+
<File
327+
RelativePath=".\src\constraints\cpPivotJoint.c"
328+
>
329+
</File>
330+
<File
331+
RelativePath=".\src\cpPolyShape.c"
332+
>
333+
</File>
334+
<File
335+
RelativePath=".\src\constraints\cpRatchetJoint.c"
336+
>
337+
</File>
338+
<File
339+
RelativePath=".\src\constraints\cpRotaryLimitJoint.c"
340+
>
341+
</File>
342+
<File
343+
RelativePath=".\src\cpShape.c"
344+
>
345+
</File>
346+
<File
347+
RelativePath=".\src\constraints\cpSimpleMotor.c"
348+
>
349+
</File>
350+
<File
351+
RelativePath=".\src\constraints\cpSlideJoint.c"
352+
>
353+
</File>
354+
<File
355+
RelativePath=".\src\cpSpace.c"
356+
>
357+
</File>
358+
<File
359+
RelativePath=".\src\cpSpaceHash.c"
360+
>
361+
</File>
362+
<File
363+
RelativePath=".\src\cpVect.c"
364+
>
365+
</File>
366+
</Filter>
367+
<File
368+
RelativePath=".\chipmunk-docs.html"
369+
>
370+
</File>
371+
</Files>
372+
<Globals>
373+
</Globals>
374+
</VisualStudioProject>

cocos2dx-win32.sln

+6
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Helloworld-win32", "Hellowo
88
{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}
99
EndProjectSection
1010
EndProject
11+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "chipmunk-win32", "chipmunk\chipmunk-win32.vcproj", "{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}"
12+
EndProject
1113
Global
1214
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1315
Debug|Win32 = Debug|Win32
@@ -22,6 +24,10 @@ Global
2224
{B8BF9E81-35FD-4582-BA1C-B85FA365BABB}.Debug|Win32.Build.0 = Debug|Win32
2325
{B8BF9E81-35FD-4582-BA1C-B85FA365BABB}.Release|Win32.ActiveCfg = Release|Win32
2426
{B8BF9E81-35FD-4582-BA1C-B85FA365BABB}.Release|Win32.Build.0 = Release|Win32
27+
{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.ActiveCfg = Debug|Win32
28+
{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.Build.0 = Debug|Win32
29+
{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.ActiveCfg = Release|Win32
30+
{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.Build.0 = Release|Win32
2531
EndGlobalSection
2632
GlobalSection(SolutionProperties) = preSolution
2733
HideSolutionNode = FALSE

0 commit comments

Comments
 (0)