You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

142 regels
8.2 KiB

  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. <ExternalDir>$(SolutionDir)\..\external</ExternalDir>
  6. <!-- Flex & Bison -->
  7. <FlexDir>$(ExternalDir)\flex-2.5.35</FlexDir>
  8. <FlexIncludes>$(FlexDir)\include</FlexIncludes>
  9. <!-- SDL -->
  10. <SdlDir>$(ExternalDir)\sdl-2.0.3</SdlDir>
  11. <SdlImageDir>$(ExternalDir)\sdl-image-2.0.0</SdlImageDir>
  12. <SdlMixerDir>$(ExternalDir)\sdl-mixer-2.0.0</SdlMixerDir>
  13. <SdlIncludes>$(SdlDir)\include;$(SdlImageDir)\include;$(SdlMixerDir)\include</SdlIncludes>
  14. <SdlLibs Condition="'$(Platform)'=='Win32'">$(SdlDir)\lib\i686-w64-mingw32;$(SdlImageDir)\lib\i686-w64-msvc;$(SdlMixerDir)\lib\i686-w64-msvc</SdlLibs>
  15. <SdlLibs Condition="'$(Platform)'=='x64'">$(SdlDir)\lib\x86_64-msvc;$(SdlImageDir)\lib\x86_64-msvc;$(SdlMixerDir)\lib\x86_64-msvc</SdlLibs>
  16. <SdlDeps Condition="'$(Platform)'=='Win32'">SDL2.lib;SDL2main.lib;SDL2_image.lib;SDL2_mixer.lib</SdlDeps>
  17. <SdlDeps Condition="'$(Platform)'=='x64'">SDL2.lib;SDL2main.lib;SDL2_image.lib;SDL2_mixer.lib</SdlDeps>
  18. <Win32Defines>HAVE_SDL_H;USE_SDL;$(Win32Defines)</Win32Defines>
  19. <Win32Defines>USE_SDL_MIXER;USE_SDL_IMAGE;$(Win32Defines)</Win32Defines>
  20. <!-- GTK+ & GtkGl -->
  21. <GtkDir>$(ExternalDir)\gtk-2.22.1</GtkDir>
  22. <GtkGlDir>$(ExternalDir)\gtkglarea-2.0.1</GtkGlDir>
  23. <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>
  24. <GtkLibs>$(GtkDir)\lib;$(GtkDir)\bin;$(GtkGlDir)\lib</GtkLibs>
  25. <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>
  26. <!-- libcaca -->
  27. <CacaDir>$(ExternalDir)\libcaca-0.99.beta18</CacaDir>
  28. <CacaIncludes>$(CacaDir)\include</CacaIncludes>
  29. <CacaLibs Condition="'$(Platform)'=='Win32'">$(CacaDir)\lib\i686-w64-mingw32</CacaLibs>
  30. <CacaLibs Condition="'$(Platform)'=='x64'">$(CacaDir)\lib\x86_64-w64-mingw32</CacaLibs>
  31. <CacaDeps>caca.lib</CacaDeps>
  32. <Win32Defines>CACA_STATIC;$(Win32Defines)</Win32Defines>
  33. <!-- GDI+ -->
  34. <GdiDeps>Gdiplus.lib</GdiDeps>
  35. <Win32Defines>USE_GDIPLUS;$(Win32Defines)</Win32Defines>
  36. <!-- OpenGL & GLEW -->
  37. <GlewDir>$(ExternalDir)\glew-1.9.0</GlewDir>
  38. <GlIncludes>$(GlewDir)\include\GL</GlIncludes>
  39. <GlLibs Condition="'$(Platform)'=='Win32'">$(GlewDir)\lib\i686-w64-mingw32</GlLibs>
  40. <GlLibs Condition="'$(Platform)'=='x64'">$(GlewDir)\lib\x86_64-w64-mingw32</GlLibs>
  41. <GlLibs Condition="'$(Platform)|$(Configuration)'=='PS3|Debug'">$(SCE_PS3_ROOT)\target\ppu\lib\PSGL\RSX\debug</GlLibs>
  42. <GlLibs Condition="'$(Platform)|$(Configuration)'=='PS3|Release'">$(SCE_PS3_ROOT)\target\ppu\lib\PSGL\RSX\opt</GlLibs>
  43. <GlDeps Condition="'$(Platform)'=='Win32'">opengl32.lib;glew32s.lib</GlDeps>
  44. <GlDeps Condition="'$(Platform)'=='x64'">opengl32.lib;glew32s.lib</GlDeps>
  45. <GlDeps Condition="'$(Platform)'=='PS3'">libPSGL.a;libgcm_cmd.a;libgcm_sys_stub.a;libcgc.a;libPSGLcgc.a</GlDeps>
  46. <Win32Defines Condition="'$(UseOpenGL)'=='true'">HAVE_GL_2X;USE_GLEW;GLEW_STATIC;$(Win32Defines)</Win32Defines>
  47. <Ps3Defines>HAVE_GLES_2X;$(Ps3Defines)</Ps3Defines>
  48. <!-- Direct3D 9 -->
  49. <D3d9Includes>$(DXSDK_DIR)\Include</D3d9Includes>
  50. <D3d9Libs Condition="'$(Platform)'=='Win32'">$(DXSDK_DIR)\Lib\x86</D3d9Libs>
  51. <D3d9Libs Condition="'$(Platform)'=='x64'">$(DXSDK_DIR)\Lib\x64</D3d9Libs>
  52. <D3d9Deps Condition="'$(Configuration)'=='Release'">d3d9.lib;d3dx9.lib</D3d9Deps>
  53. <D3d9Deps Condition="'$(Configuration)'=='Debug'">d3d9.lib;d3dx9d.lib</D3d9Deps>
  54. <Win32Defines Condition="'$(UseOpenGL)'=='false'">USE_D3D9;$(Win32Defines)</Win32Defines>
  55. <!-- Xinput -->
  56. <XinputIncludes>$(DXSDK_DIR)\Include</XinputIncludes>
  57. <XinputLibs Condition="'$(Platform)'=='Win32'">$(DXSDK_DIR)\Lib\x86</XinputLibs>
  58. <XinputLibs Condition="'$(Platform)'=='x64'">$(DXSDK_DIR)\Lib\x64</XinputLibs>
  59. <XinputDeps>xinput.lib</XinputDeps>
  60. <Win32Defines>USE_XINPUT;$(Win32Defines)</Win32Defines>
  61. <!-- Windows-specific -->
  62. <Win32Defines>HAVE_STDIO_H;$(Win32Defines)</Win32Defines>
  63. <!-- PS3-specific -->
  64. <Ps3Deps>libsysmodule_stub.a;libsysutil_stub.a;libresc_stub.a;
  65. libpngdec_stub.a;
  66. libio_stub.a;libusbd_stub.a;libpadfilter.a;
  67. libaudio_stub.a;libspurs_stub.a;libmstreamSPURSMP3.a</Ps3Deps>
  68. <!-- PS4-specific -->
  69. <OrbisDefines>HAVE_STDIO_H;
  70. HAVE_PTHREAD_H;
  71. $(OrbisDefines)</OrbisDefines>
  72. <!-- X360-specific -->
  73. <XboxDefines>$(XboxDefines)</XboxDefines>
  74. </PropertyGroup>
  75. <PropertyGroup />
  76. <ItemDefinitionGroup />
  77. <ItemGroup>
  78. <BuildMacro Include="ExternalDir"><Value>$(ExternalDir)</Value></BuildMacro>
  79. <BuildMacro Include="FlexDir"><Value>$(FlexDir)</Value></BuildMacro>
  80. <BuildMacro Include="FlexIncludes"><Value>$(FlexIncludes)</Value></BuildMacro>
  81. <BuildMacro Include="SdlDir"><Value>$(SdlDir)</Value></BuildMacro>
  82. <BuildMacro Include="SdlImageDir"><Value>$(SdlImageDir)</Value></BuildMacro>
  83. <BuildMacro Include="SdlMixerDir"><Value>$(SdlMixerDir)</Value></BuildMacro>
  84. <BuildMacro Include="SdlIncludes"><Value>$(SdlIncludes)</Value></BuildMacro>
  85. <BuildMacro Include="SdlLibs"><Value>$(SdlLibs)</Value></BuildMacro>
  86. <BuildMacro Include="SdlDeps"><Value>$(SdlDeps)</Value></BuildMacro>
  87. <BuildMacro Include="BtPhysDir"><Value>$(BtPhysDir)</Value></BuildMacro>
  88. <BuildMacro Include="BtPhysIncludes"><Value>$(BtPhysIncludes)</Value></BuildMacro>
  89. <BuildMacro Include="GtkDir"><Value>$(GtkDir)</Value></BuildMacro>
  90. <BuildMacro Include="GtkGlDir"><Value>$(GtkGlDir)</Value></BuildMacro>
  91. <BuildMacro Include="GtkIncludes"><Value>$(GtkIncludes)</Value></BuildMacro>
  92. <BuildMacro Include="GtkLibs"><Value>$(GtkLibs)</Value></BuildMacro>
  93. <BuildMacro Include="GtkDeps"><Value>$(GtkDeps)</Value></BuildMacro>
  94. <BuildMacro Include="CacaDir"><Value>$(CacaDir)</Value></BuildMacro>
  95. <BuildMacro Include="CacaIncludes"><Value>$(CacaIncludes)</Value></BuildMacro>
  96. <BuildMacro Include="CacaLibs"><Value>$(CacaLibs)</Value></BuildMacro>
  97. <BuildMacro Include="CacaDeps"><Value>$(CacaDeps)</Value></BuildMacro>
  98. <BuildMacro Include="GdiDeps"><Value>$(GdiDeps)</Value></BuildMacro>
  99. <BuildMacro Include="GlewDir"><Value>$(GlewDir)</Value></BuildMacro>
  100. <BuildMacro Include="GlIncludes"><Value>$(GlIncludes)</Value></BuildMacro>
  101. <BuildMacro Include="GlLibs"><Value>$(GlLibs)</Value></BuildMacro>
  102. <BuildMacro Include="GlDeps"><Value>$(GlDeps)</Value></BuildMacro>
  103. <BuildMacro Include="D3d9Includes"><Value>$(D3d9Includes)</Value></BuildMacro>
  104. <BuildMacro Include="D3d9Libs"><Value>$(D3d9Libs)</Value></BuildMacro>
  105. <BuildMacro Include="D3d9Deps"><Value>$(D3d9Deps)</Value></BuildMacro>
  106. <BuildMacro Include="XinputIncludes"><Value>$(XinputIncludes)</Value></BuildMacro>
  107. <BuildMacro Include="XinputLibs"><Value>$(XinputLibs)</Value></BuildMacro>
  108. <BuildMacro Include="XinputDeps"><Value>$(XinputDeps)</Value></BuildMacro>
  109. <BuildMacro Include="Win32Defines"><Value>$(Win32Defines)</Value></BuildMacro>
  110. <BuildMacro Include="XboxDefines"><Value>$(XboxDefines)</Value></BuildMacro>
  111. <BuildMacro Include="Ps3Deps"><Value>$(Ps3Deps)</Value></BuildMacro>
  112. <BuildMacro Include="Ps3Libs"><Value>$(Ps3Libs)</Value></BuildMacro>
  113. <BuildMacro Include="Ps3Defines"><Value>$(Ps3Defines)</Value></BuildMacro>
  114. <BuildMacro Include="OrbisDeps"><Value>$(OrbisDeps)</Value></BuildMacro>
  115. <BuildMacro Include="OrbisLibs"><Value>$(OrbisLibs)</Value></BuildMacro>
  116. <BuildMacro Include="OrbisDefines"><Value>$(OrbisDefines)</Value></BuildMacro>
  117. </ItemGroup>
  118. <PropertyGroup>
  119. <!-- Deliberately omit the \ before .. because of an Incredibuild or Visual Studio bug
  120. that messes with the log file location. http://stackoverflow.com/q/12101464/111461 -->
  121. <OutDir>$(SolutionDir)..\binaries\$(Platform) $(PlatformToolset) $(Configuration)\</OutDir>
  122. <IntDir>$(SolutionDir)..\binaries\$(Platform) $(PlatformToolset) $(Configuration)\$(ProjectName)\</IntDir>
  123. </PropertyGroup>
  124. </Project>