source: trunk/win32/Lol.Vars.props @ 1361

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

win32: add an Xinput class for Xbox360 controllers, because they're not
properly detected using the generic SDL driver.

File size: 4.4 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    <!-- SDL -->
8    <SdlDir>$(ContribDir)\sdl-1.2.14</SdlDir>
9    <SdlImageDir>$(ContribDir)\sdl-image-1.2.10</SdlImageDir>
10    <SdlMixerDir>$(ContribDir)\sdl-mixer-1.2.11</SdlMixerDir>
11    <SdlIncludes>$(SdlDir)\include;$(SdlImageDir)\include;$(SdlMixerDir)\include</SdlIncludes>
12    <SdlLibs Condition="'$(Platform)'=='Win32'">$(SdlDir)\lib\i686-w64-mingw32;$(SdlImageDir)\lib\i686-w64-mingw32;$(SdlMixerDir)\lib\i686-w64-mingw32</SdlLibs>
13    <SdlLibs Condition="'$(Platform)'=='x64'">$(SdlDir)\lib\x86_64-w64-mingw32</SdlLibs>
14    <SdlDeps Condition="'$(Platform)'=='Win32'">SDL.lib;SDLmain.lib;SDL_image.lib;SDL_mixer.lib</SdlDeps>
15    <SdlDeps Condition="'$(Platform)'=='x64'">libSDL.a;libSDLmain.a</SdlDeps>
16
17    <!-- GTK+ & GtkGl -->
18    <GtkDir>$(ContribDir)\gtk-2.22.1</GtkDir>
19    <GtkGlDir>$(ContribDir)\gtkglarea-2.0.1</GtkGlDir>
20    <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>
21    <GtkLibs>$(GtkDir)\lib;$(GtkDir)\bin;$(GtkGlDir)\lib</GtkLibs>
22    <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>
23
24    <!-- GDI+ -->
25    <GdiDeps>Gdiplus.lib</GdiDeps>
26
27    <!-- OpenGL & GLEW -->
28    <GlewDir>$(ContribDir)\glew-1.7.0</GlewDir>
29    <GlIncludes>$(GlewDir)\include\GL</GlIncludes>
30    <GlLibs Condition="'$(Platform)'=='Win32'">$(GlewDir)\lib\i686-w64-mingw32</GlLibs>
31    <GlLibs Condition="'$(Platform)'=='x64'">$(GlewDir)\lib\x86_64-w64-mingw32</GlLibs>
32    <GlDeps>opengl32.lib;glew32.lib</GlDeps>
33
34    <!-- Direct3D 9 -->
35    <D3d9Includes>$(DXSDK_DIR)\Include</D3d9Includes>
36    <D3d9Libs Condition="'$(Platform)'=='Win32'">$(DXSDK_DIR)\Lib\x86</D3d9Libs>
37    <D3d9Libs Condition="'$(Platform)'=='x64'">$(DXSDK_DIR)\Lib\x64</D3d9Libs>
38    <D3d9Deps Condition="'$(Configuration)'=='Release'">d3d9.lib;d3dx9.lib;xinput.lib</D3d9Deps>
39    <D3d9Deps Condition="'$(Configuration)'=='Debug'">d3d9.lib;d3dx9d.lib;xinput.lib</D3d9Deps>
40
41    <Win32Defines>HAVE_SDL_H;USE_SDL;USE_GDIPLUS;USE_D3D9</Win32Defines>
42    <XboxDefines></XboxDefines>
43  </PropertyGroup>
44  <PropertyGroup />
45  <ItemDefinitionGroup />
46  <ItemGroup>
47    <BuildMacro Include="ContribDir"><Value>$(ContribDir)</Value></BuildMacro>
48    <BuildMacro Include="SdlDir"><Value>$(SdlDir)</Value></BuildMacro>
49    <BuildMacro Include="SdlImageDir"><Value>$(SdlImageDir)</Value></BuildMacro>
50    <BuildMacro Include="SdlMixerDir"><Value>$(SdlMixerDir)</Value></BuildMacro>
51    <BuildMacro Include="SdlIncludes"><Value>$(SdlIncludes)</Value></BuildMacro>
52    <BuildMacro Include="SdlLibs"><Value>$(SdlLibs)</Value></BuildMacro>
53    <BuildMacro Include="SdlDeps"><Value>$(SdlDeps)</Value></BuildMacro>
54    <BuildMacro Include="GtkDir"><Value>$(GtkDir)</Value></BuildMacro>
55    <BuildMacro Include="GtkGlDir"><Value>$(GtkGlDir)</Value></BuildMacro>
56    <BuildMacro Include="GtkIncludes"><Value>$(GtkIncludes)</Value></BuildMacro>
57    <BuildMacro Include="GtkLibs"><Value>$(GtkLibs)</Value></BuildMacro>
58    <BuildMacro Include="GtkDeps"><Value>$(GtkDeps)</Value></BuildMacro>
59    <BuildMacro Include="GdiDeps"><Value>$(GdiDeps)</Value></BuildMacro>
60    <BuildMacro Include="GlewDir"><Value>$(GlewDir)</Value></BuildMacro>
61    <BuildMacro Include="GlIncludes"><Value>$(GlIncludes)</Value></BuildMacro>
62    <BuildMacro Include="GlLibs"><Value>$(GlLibs)</Value></BuildMacro>
63    <BuildMacro Include="GlDeps"><Value>$(GlDeps)</Value></BuildMacro>
64    <BuildMacro Include="D3d9Includes"><Value>$(D3d9Includes)</Value></BuildMacro>
65    <BuildMacro Include="D3d9Libs"><Value>$(D3d9Libs)</Value></BuildMacro>
66    <BuildMacro Include="D3d9Deps"><Value>$(D3d9Deps)</Value></BuildMacro>
67    <BuildMacro Include="Win32Defines"><Value>$(Win32Defines)</Value></BuildMacro>
68    <BuildMacro Include="XboxDefines"><Value>$(XboxDefines)</Value></BuildMacro>
69  </ItemGroup>
70  <PropertyGroup>
71    <OutDir>$(Platform) $(Configuration)\</OutDir>
72    <IntDir>$(Platform) $(Configuration)\$(ProjectName)\</IntDir>
73  </PropertyGroup>
74</Project>
Note: See TracBrowser for help on using the repository browser.