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

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