Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

158 рядки
8.5 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>$(LolDir)\external</ExternalDir>
  6. <PlatformCode Condition="'$(Platform)'=='Win32'">i686</PlatformCode>
  7. <PlatformCode Condition="'$(Platform)'=='x64'">x86_64</PlatformCode>
  8. <!-- PEGTL -->
  9. <PegtlDir>$(LolDir)\src/3rdparty\pegtl\include</PegtlDir>
  10. <PegtlIncludes>$(PegtlDir)</PegtlIncludes>
  11. <!-- imgui -->
  12. <ImguiDir>$(LolDir)\src\3rdparty\imgui</ImguiDir>
  13. <ImguiIncludes>$(ImguiDir)</ImguiIncludes>
  14. <!-- GTK+ & GtkGl -->
  15. <GtkDir>$(ExternalDir)\gtk-2.22.1</GtkDir>
  16. <GtkGlDir>$(ExternalDir)\gtkglarea-2.0.1</GtkGlDir>
  17. <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>
  18. <GtkLibs>$(GtkDir)\lib;$(GtkDir)\bin;$(GtkGlDir)\lib</GtkLibs>
  19. <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>
  20. <!-- Assimp -->
  21. <!--
  22. <AssimpDir>$(ExternalDir)\assimp-3.1.1</AssimpDir>
  23. <AssimpIncludes>$(AssimpDir)\include</AssimpIncludes>
  24. <AssimpLibs Condition="'$(Platform)'=='Win32'">$(AssimpDir)\lib\win32</AssimpLibs>
  25. <AssimpLibs Condition="'$(Platform)'=='x64'">$(AssimpDir)\lib\x64</AssimpLibs>
  26. <AssimpDeps Condition="'$(Configuration)'=='Release'">zlibstatic.lib;assimp.lib</AssimpDeps>
  27. <AssimpDeps Condition="'$(Configuration)'=='Debug'">zlibstatic.lib;assimp.lib</AssimpDeps>
  28. <Win32Defines>LOL_USE_ASSIMP;$(Win32Defines)</Win32Defines>
  29. -->
  30. <!-- libcaca -->
  31. <CacaDir>$(ExternalDir)\libcaca-0.99.beta18</CacaDir>
  32. <CacaIncludes>$(CacaDir)\include</CacaIncludes>
  33. <CacaLibs>$(CacaDir)\lib\$(PlatformCode)-w64-mingw32</CacaLibs>
  34. <CacaDeps>caca.lib</CacaDeps>
  35. <Win32Defines>CACA_STATIC;$(Win32Defines)</Win32Defines>
  36. <!-- GDI+ -->
  37. <GdiDeps>Gdiplus.lib</GdiDeps>
  38. <Win32Defines>LOL_USE_GDIPLUS;$(Win32Defines)</Win32Defines>
  39. <!-- Xinput -->
  40. <XinputIncludes>$(DXSDK_DIR)\Include</XinputIncludes>
  41. <XinputLibs Condition="'$(Platform)'=='Win32'">$(DXSDK_DIR)\Lib\x86</XinputLibs>
  42. <XinputLibs Condition="'$(Platform)'=='x64'">$(DXSDK_DIR)\Lib\x64</XinputLibs>
  43. <XinputDeps>xinput.lib</XinputDeps>
  44. <Win32Defines>LOL_USE_XINPUT;$(Win32Defines)</Win32Defines>
  45. <!-- Windows-specific -->
  46. <Win32Defines>HAVE_STDIO_H;$(Win32Defines)</Win32Defines>
  47. <!-- PS4-specific -->
  48. <OrbisDefines>HAVE_STDIO_H;
  49. $(OrbisDefines)</OrbisDefines>
  50. </PropertyGroup>
  51. <!-- OpenGL & GLEW -->
  52. <PropertyGroup Condition="'$(enable_gl)'!='no'" Label="UserMacros">
  53. <GlewDir>$(ExternalDir)\glew-2.1.0</GlewDir>
  54. <GlIncludes>$(GlewDir)\include</GlIncludes>
  55. <GlLibs>$(GlewDir)\lib\$(PlatformCode)-w64-mingw32</GlLibs>
  56. <GlDeps>opengl32.lib;glew32s.lib</GlDeps>
  57. <Win32Defines>HAVE_GL_2X;LOL_USE_GLEW;GLEW_STATIC;$(Win32Defines)</Win32Defines>
  58. </PropertyGroup>
  59. <!-- SDL -->
  60. <PropertyGroup Condition="'$(enable_sdl)'!='no'" Label="UserMacros">
  61. <SdlDir>$(ExternalDir)\sdl-2.0.9</SdlDir>
  62. <SdlImageDir>$(ExternalDir)\sdl-image-2.0.4</SdlImageDir>
  63. <SdlMixerDir>$(ExternalDir)\sdl-mixer-2.0.4</SdlMixerDir>
  64. <SdlLibDir>$(SdlDir)\lib\$(PlatformCode)-msvc</SdlLibDir>
  65. <SdlImageLibDir>$(SdlImageDir)\lib\$(PlatformCode)-msvc</SdlImageLibDir>
  66. <SdlMixerLibDir>$(SdlMixerDir)\lib\$(PlatformCode)-msvc</SdlMixerLibDir>
  67. <SdlIncludes>$(SdlDir)\include;$(SdlImageDir)\include;$(SdlMixerDir)\include</SdlIncludes>
  68. <SdlLibs>$(SdlLibDir);$(SdlImageLibDir);$(SdlMixerLibDir)</SdlLibs>
  69. <SdlDeps>SDL2.lib;SDL2main.lib;SDL2_image.lib;SDL2_mixer.lib</SdlDeps>
  70. <Win32Defines>HAVE_SDL_H;LOL_USE_SDL;$(Win32Defines)</Win32Defines>
  71. <Win32Defines>LOL_USE_SDL_MIXER;LOL_USE_SDL_IMAGE;$(Win32Defines)</Win32Defines>
  72. </PropertyGroup>
  73. <!-- FFmpeg -->
  74. <PropertyGroup Condition="'$(enable_ffmpeg)'!='no'" Label="UserMacros">
  75. <FfmpegDir>$(ExternalDir)\ffmpeg-20190130</FfmpegDir>
  76. <FfmpegIncludes>$(FfmpegDir)\include</FfmpegIncludes>
  77. <FfmpegLibs>$(FfmpegDir)\lib\$(PlatformCode)-msvc</FfmpegLibs>
  78. <FfmpegDeps>swscale.lib;avformat.lib;avcodec.lib;swresample.lib;avutil.lib;ws2_32.lib;secur32.lib;bcrypt.lib</FfmpegDeps>
  79. <Win32Defines>LOL_USE_FFMPEG;$(Win32Defines)</Win32Defines>
  80. </PropertyGroup>
  81. <PropertyGroup />
  82. <ItemDefinitionGroup />
  83. <ItemGroup>
  84. <BuildMacro Include="ExternalDir"><Value>$(ExternalDir)</Value></BuildMacro>
  85. <BuildMacro Include="PlatformCode"><Value>$(PlatformCode)</Value></BuildMacro>
  86. </ItemGroup>
  87. <ItemGroup>
  88. <BuildMacro Include="PegtlDir"><Value>$(PegtlDir)</Value></BuildMacro>
  89. <BuildMacro Include="PegtlIncludes"><Value>$(PegtlIncludes)</Value></BuildMacro>
  90. <BuildMacro Include="ImguiDir"><Value>$(ImguiDir)</Value></BuildMacro>
  91. <BuildMacro Include="ImguiIncludes"><Value>$(ImguiIncludes)</Value></BuildMacro>
  92. <BuildMacro Include="LibGccDir"><Value>$(LibGccDir)</Value></BuildMacro>
  93. <BuildMacro Include="LibGccLibs"><Value>$(LibGccLibs)</Value></BuildMacro>
  94. <BuildMacro Include="LibGccDeps"><Value>$(LibGccDeps)</Value></BuildMacro>
  95. <BuildMacro Include="SdlDir"><Value>$(SdlDir)</Value></BuildMacro>
  96. <BuildMacro Include="SdlImageDir"><Value>$(SdlImageDir)</Value></BuildMacro>
  97. <BuildMacro Include="SdlMixerDir"><Value>$(SdlMixerDir)</Value></BuildMacro>
  98. <BuildMacro Include="SdlIncludes"><Value>$(SdlIncludes)</Value></BuildMacro>
  99. <BuildMacro Include="SdlLibs"><Value>$(SdlLibs)</Value></BuildMacro>
  100. <BuildMacro Include="SdlDeps"><Value>$(SdlDeps)</Value></BuildMacro>
  101. <BuildMacro Include="BtPhysDir"><Value>$(BtPhysDir)</Value></BuildMacro>
  102. <BuildMacro Include="BtPhysIncludes"><Value>$(BtPhysIncludes)</Value></BuildMacro>
  103. <BuildMacro Include="GtkDir"><Value>$(GtkDir)</Value></BuildMacro>
  104. <BuildMacro Include="GtkGlDir"><Value>$(GtkGlDir)</Value></BuildMacro>
  105. <BuildMacro Include="GtkIncludes"><Value>$(GtkIncludes)</Value></BuildMacro>
  106. <BuildMacro Include="GtkLibs"><Value>$(GtkLibs)</Value></BuildMacro>
  107. <BuildMacro Include="GtkDeps"><Value>$(GtkDeps)</Value></BuildMacro>
  108. <BuildMacro Include="FfmpegDir"><Value>$(FfmpegDir)</Value></BuildMacro>
  109. <BuildMacro Include="FfmpegIncludes"><Value>$(FfmpegIncludes)</Value></BuildMacro>
  110. <BuildMacro Include="FfmpegLibs"><Value>$(FfmpegLibs)</Value></BuildMacro>
  111. <BuildMacro Include="FfmpegDeps"><Value>$(FfmpegDeps)</Value></BuildMacro>
  112. <BuildMacro Include="AssimpDir"><Value>$(AssimpDir)</Value></BuildMacro>
  113. <BuildMacro Include="AssimpIncludes"><Value>$(AssimpIncludes)</Value></BuildMacro>
  114. <BuildMacro Include="AssimpLibs"><Value>$(AssimpLibs)</Value></BuildMacro>
  115. <BuildMacro Include="AssimpDeps"><Value>$(AssimpDeps)</Value></BuildMacro>
  116. <BuildMacro Include="CacaDir"><Value>$(CacaDir)</Value></BuildMacro>
  117. <BuildMacro Include="CacaIncludes"><Value>$(CacaIncludes)</Value></BuildMacro>
  118. <BuildMacro Include="CacaLibs"><Value>$(CacaLibs)</Value></BuildMacro>
  119. <BuildMacro Include="CacaDeps"><Value>$(CacaDeps)</Value></BuildMacro>
  120. <BuildMacro Include="GdiDeps"><Value>$(GdiDeps)</Value></BuildMacro>
  121. <BuildMacro Include="GlewDir"><Value>$(GlewDir)</Value></BuildMacro>
  122. <BuildMacro Include="GlIncludes"><Value>$(GlIncludes)</Value></BuildMacro>
  123. <BuildMacro Include="GlLibs"><Value>$(GlLibs)</Value></BuildMacro>
  124. <BuildMacro Include="GlDeps"><Value>$(GlDeps)</Value></BuildMacro>
  125. <BuildMacro Include="XinputIncludes"><Value>$(XinputIncludes)</Value></BuildMacro>
  126. <BuildMacro Include="XinputLibs"><Value>$(XinputLibs)</Value></BuildMacro>
  127. <BuildMacro Include="XinputDeps"><Value>$(XinputDeps)</Value></BuildMacro>
  128. <BuildMacro Include="Win32Defines"><Value>$(Win32Defines)</Value></BuildMacro>
  129. <BuildMacro Include="OrbisDeps"><Value>$(OrbisDeps)</Value></BuildMacro>
  130. <BuildMacro Include="OrbisLibs"><Value>$(OrbisLibs)</Value></BuildMacro>
  131. <BuildMacro Include="OrbisDefines"><Value>$(OrbisDefines)</Value></BuildMacro>
  132. </ItemGroup>
  133. <PropertyGroup>
  134. <BinDir Condition="Exists('$(SolutionDir)\lol')">$(SolutionDir)\binaries</BinDir>
  135. <BinDir Condition="!Exists('$(SolutionDir)\lol')">$(LolDir)\binaries</BinDir>
  136. <OutDir>$(BinDir)\$(Platform) $(PlatformToolset) $(Configuration)\</OutDir>
  137. <IntDir>$(BinDir)\$(Platform) $(PlatformToolset) $(Configuration)\$(ProjectName)\</IntDir>
  138. </PropertyGroup>
  139. </Project>