source: trunk/build/vs2010/Lol.Core.Vars.props @ 1566

Last change on this file since 1566 was 1566, checked in by sam, 9 years ago

build: ship BulletPhysics for Win32, Win64, X360 and PS3.

File size: 7.7 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3  <ImportGroup Label="PropertySheets" />
4  <PropertyGroup Label="UserMacros">
5    <ContribDir>$(SolutionDir)\..\..\contrib</ContribDir>
6
7    <!-- Flex & Bison -->
8    <FlexDir>$(ContribDir)\flex-2.5.35</FlexDir>
9    <FlexIncludes>$(FlexDir)\include</FlexIncludes>
10
11    <!-- SDL -->
12    <SdlDir>$(ContribDir)\sdl-1.2.14</SdlDir>
13    <SdlImageDir>$(ContribDir)\sdl-image-1.2.10</SdlImageDir>
14    <SdlMixerDir>$(ContribDir)\sdl-mixer-1.2.11</SdlMixerDir>
15    <SdlIncludes>$(SdlDir)\include;$(SdlImageDir)\include;$(SdlMixerDir)\include</SdlIncludes>
16    <SdlLibs Condition="'$(Platform)'=='Win32'">$(SdlDir)\lib\i686-w64-mingw32;$(SdlImageDir)\lib\i686-w64-mingw32;$(SdlMixerDir)\lib\i686-w64-mingw32</SdlLibs>
17    <SdlLibs Condition="'$(Platform)'=='x64'">$(SdlDir)\lib\x86_64-w64-mingw32</SdlLibs>
18    <SdlDeps Condition="'$(Platform)'=='Win32'">SDL.lib;SDLmain.lib;SDL_image.lib;SDL_mixer.lib</SdlDeps>
19    <SdlDeps Condition="'$(Platform)'=='x64'">libSDL.a;libSDLmain.a</SdlDeps>
20    <Win32Defines>HAVE_SDL_H;USE_SDL;$(Win32Defines)</Win32Defines>
21
22    <!-- BulletPhysics -->
23    <BtPhysDir>$(ContribDir)\bullet-2.80-rev2531</BtPhysDir>
24    <BtPhysIncludes>$(BtPhysDir)\include;$(BtPhysDir)\include\bullet</BtPhysIncludes>
25    <BtPhysLibs Condition="'$(Platform)'=='Win32'">$(BtPhysDir)\lib\i686-w64-msvc</BtPhysLibs>
26    <BtPhysLibs Condition="'$(Platform)'=='x64'">$(BtPhysDir)\lib\x86_64-w64-msvc</BtPhysLibs>
27    <BtPhysLibs Condition="'$(Platform)'=='Xbox 360'">$(BtPhysDir)\lib\xenon-x360-msvc</BtPhysLibs>
28    <BtPhysLibs Condition="'$(Platform)'=='PS3'">$(BtPhysDir)\lib\ps3-lv2-gcc</BtPhysLibs>
29    <BtPhysDeps Condition="'$(Configuration)'=='Release' And '$(Platform)'!='PS3'">BulletCollision.lib;BulletDynamics.lib;BulletSoftBody.lib;LinearMath.lib</BtPhysDeps>
30    <BtPhysDeps Condition="'$(Configuration)'=='Debug' And '$(Platform)'!='PS3'">BulletCollision_debug.lib;BulletDynamics_debug.lib;BulletSoftBody_debug.lib;LinearMath_debug.lib</BtPhysDeps>
31    <BtPhysDeps Condition="'$(Platform)'=='PS3'">libBulletCollision.a;libBulletDynamics.a;libBulletSoftBody.a;libLinearMath.a</BtPhysDeps>
32
33    <!-- GTK+ & GtkGl -->
34    <GtkDir>$(ContribDir)\gtk-2.22.1</GtkDir>
35    <GtkGlDir>$(ContribDir)\gtkglarea-2.0.1</GtkGlDir>
36    <GtkIncludes>$(GtkDir)\lib\glib-2.0\include;$(GtkDir)\lib\gtk-2.0\include;$(GtkDir)\include\glib-2.0;$(GtkDir)\include\gtk-2.0;$(GtkDir)\include\cairo;$(GtkDir)\include\pango-1.0;$(GtkDir)\include\gdk-pixbuf-2.0;$(GtkDir)\include\atk-1.0;$(GtkGlDir)\include</GtkIncludes>
37    <GtkLibs>$(GtkDir)\lib;$(GtkDir)\bin;$(GtkGlDir)\lib</GtkLibs>
38    <GtkDeps>gobject-2.0.lib;gthread-2.0.lib;glib-2.0.lib;gdk-win32-2.0.lib;gtk-win32-2.0.lib;gtkgl-2.0.lib</GtkDeps>
39
40    <!-- libcaca -->
41    <CacaDir>$(ContribDir)\libcaca-0.99.beta18</CacaDir>
42    <CacaIncludes>$(CacaDir)\include</CacaIncludes>
43    <CacaLibs Condition="'$(Platform)'=='Win32'">$(CacaDir)\lib\i686-w64-mingw32</CacaLibs>
44    <CacaLibs Condition="'$(Platform)'=='x64'">$(CacaDir)\lib\x86_64-w64-mingw32</CacaLibs>
45    <CacaDeps>caca.lib</CacaDeps>
46    <Win32Defines>CACA_STATIC;$(Win32Defines)</Win32Defines>
47
48    <!-- GDI+ -->
49    <GdiDeps>Gdiplus.lib</GdiDeps>
50    <Win32Defines>USE_GDIPLUS;$(Win32Defines)</Win32Defines>
51
52    <!-- OpenGL & GLEW -->
53    <GlewDir>$(ContribDir)\glew-1.7.0</GlewDir>
54    <GlIncludes>$(GlewDir)\include\GL</GlIncludes>
55    <GlLibs Condition="'$(Platform)'=='Win32'">$(GlewDir)\lib\i686-w64-mingw32</GlLibs>
56    <GlLibs Condition="'$(Platform)'=='x64'">$(GlewDir)\lib\x86_64-w64-mingw32</GlLibs>
57    <GlLibs Condition="'$(Platform)'=='PS3'">$(SCE_PS3_ROOT)\target\ppu\lib\PSGL\RSX\opt</GlLibs>
58    <GlDeps Condition="'$(Platform)'=='Win32'">opengl32.lib;glew32.lib</GlDeps>
59    <GlDeps Condition="'$(Platform)'=='x64'">opengl32.lib;glew32.lib</GlDeps>
60    <GlDeps Condition="'$(Platform)'=='PS3'">libPSGL.a;libgcm_cmd.a;libgcm_sys_stub.a;libcgc.a;libPSGLcgc.a</GlDeps>
61    <Win32Defines Condition="'$(UseOpenGL)'=='true'">HAVE_GL_2X;USE_GLEW;GLEW_STATIC;$(Win32Defines)</Win32Defines>
62    <Ps3Defines>HAVE_GLES_2X;$(Ps3Defines)</Ps3Defines>
63
64    <!-- Direct3D 9 -->
65    <D3d9Includes>$(DXSDK_DIR)\Include</D3d9Includes>
66    <D3d9Libs Condition="'$(Platform)'=='Win32'">$(DXSDK_DIR)\Lib\x86</D3d9Libs>
67    <D3d9Libs Condition="'$(Platform)'=='x64'">$(DXSDK_DIR)\Lib\x64</D3d9Libs>
68    <D3d9Deps Condition="'$(Configuration)'=='Release'">d3d9.lib;d3dx9.lib;xinput.lib</D3d9Deps>
69    <D3d9Deps Condition="'$(Configuration)'=='Debug'">d3d9.lib;d3dx9d.lib;xinput.lib</D3d9Deps>
70    <Win32Defines Condition="'$(UseOpenGL)'=='false'">USE_D3D9;$(Win32Defines)</Win32Defines>
71
72    <!-- PS3-specific -->
73    <Ps3Deps>libsysmodule_stub.a;libsysutil_stub.a;libresc_stub.a;
74             libpngdec_stub.a;
75             libio_stub.a;libusbd_stub.a;libpadfilter.a</Ps3Deps>
76
77    <!-- X360-specific -->
78    <XboxDefines></XboxDefines>
79  </PropertyGroup>
80  <PropertyGroup />
81  <ItemDefinitionGroup />
82  <ItemGroup>
83    <BuildMacro Include="ContribDir"><Value>$(ContribDir)</Value></BuildMacro>
84    <BuildMacro Include="FlexDir"><Value>$(FlexDir)</Value></BuildMacro>
85    <BuildMacro Include="FlexIncludes"><Value>$(FlexIncludes)</Value></BuildMacro>
86    <BuildMacro Include="SdlDir"><Value>$(SdlDir)</Value></BuildMacro>
87    <BuildMacro Include="SdlImageDir"><Value>$(SdlImageDir)</Value></BuildMacro>
88    <BuildMacro Include="SdlMixerDir"><Value>$(SdlMixerDir)</Value></BuildMacro>
89    <BuildMacro Include="SdlIncludes"><Value>$(SdlIncludes)</Value></BuildMacro>
90    <BuildMacro Include="SdlLibs"><Value>$(SdlLibs)</Value></BuildMacro>
91    <BuildMacro Include="SdlDeps"><Value>$(SdlDeps)</Value></BuildMacro>
92    <BuildMacro Include="BtPhysDir"><Value>$(BtPhysDir)</Value></BuildMacro>
93    <BuildMacro Include="BtPhysIncludes"><Value>$(BtPhysIncludes)</Value></BuildMacro>
94    <BuildMacro Include="BtPhysLibs"><Value>$(BtPhysLibs)</Value></BuildMacro>
95    <BuildMacro Include="BtPhysDeps"><Value>$(BtPhysDeps)</Value></BuildMacro>
96    <BuildMacro Include="GtkDir"><Value>$(GtkDir)</Value></BuildMacro>
97    <BuildMacro Include="GtkGlDir"><Value>$(GtkGlDir)</Value></BuildMacro>
98    <BuildMacro Include="GtkIncludes"><Value>$(GtkIncludes)</Value></BuildMacro>
99    <BuildMacro Include="GtkLibs"><Value>$(GtkLibs)</Value></BuildMacro>
100    <BuildMacro Include="GtkDeps"><Value>$(GtkDeps)</Value></BuildMacro>
101    <BuildMacro Include="CacaDir"><Value>$(CacaDir)</Value></BuildMacro>
102    <BuildMacro Include="CacaIncludes"><Value>$(CacaIncludes)</Value></BuildMacro>
103    <BuildMacro Include="CacaLibs"><Value>$(CacaLibs)</Value></BuildMacro>
104    <BuildMacro Include="CacaDeps"><Value>$(CacaDeps)</Value></BuildMacro>
105    <BuildMacro Include="GdiDeps"><Value>$(GdiDeps)</Value></BuildMacro>
106    <BuildMacro Include="GlewDir"><Value>$(GlewDir)</Value></BuildMacro>
107    <BuildMacro Include="GlIncludes"><Value>$(GlIncludes)</Value></BuildMacro>
108    <BuildMacro Include="GlLibs"><Value>$(GlLibs)</Value></BuildMacro>
109    <BuildMacro Include="GlDeps"><Value>$(GlDeps)</Value></BuildMacro>
110    <BuildMacro Include="D3d9Includes"><Value>$(D3d9Includes)</Value></BuildMacro>
111    <BuildMacro Include="D3d9Libs"><Value>$(D3d9Libs)</Value></BuildMacro>
112    <BuildMacro Include="D3d9Deps"><Value>$(D3d9Deps)</Value></BuildMacro>
113    <BuildMacro Include="Win32Defines"><Value>$(Win32Defines)</Value></BuildMacro>
114    <BuildMacro Include="XboxDefines"><Value>$(XboxDefines)</Value></BuildMacro>
115    <BuildMacro Include="Ps3Deps"><Value>$(Ps3Deps)</Value></BuildMacro>
116    <BuildMacro Include="Ps3Defines"><Value>$(Ps3Defines)</Value></BuildMacro>
117  </ItemGroup>
118  <PropertyGroup>
119    <OutDir>$(SolutionDir)..\..\binaries\$(Platform) $(Configuration)\</OutDir>
120    <IntDir>$(SolutionDir)..\..\binaries\$(Platform) $(Configuration)\$(ProjectName)\</IntDir>
121  </PropertyGroup>
122</Project>
Note: See TracBrowser for help on using the repository browser.