Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

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