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.
 
 
 

156 rivejä
8.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>$(LolDir)\external</ExternalDir>
  6. <!-- PEGTL -->
  7. <PegtlDir>$(LolDir)\src/3rdparty\pegtl</PegtlDir>
  8. <PegtlIncludes>$(PegtlDir)</PegtlIncludes>
  9. <!-- imgui -->
  10. <ImguiDir>$(LolDir)\src\3rdparty\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;LOL_USE_SDL;$(Win32Defines)</Win32Defines>
  27. <Win32Defines>LOL_USE_SDL_MIXER;LOL_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>LOL_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>LOL_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>LOL_USE_GDIPLUS;$(Win32Defines)</Win32Defines>
  62. <!-- OpenGL & GLEW -->
  63. <GlewDir>$(ExternalDir)\glew-1.9.0</GlewDir>
  64. <GlIncludes>$(GlewDir)\include</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>HAVE_GL_2X;LOL_USE_GLEW;GLEW_STATIC;$(Win32Defines)</Win32Defines>
  70. <!-- Xinput -->
  71. <XinputIncludes>$(DXSDK_DIR)\Include</XinputIncludes>
  72. <XinputLibs Condition="'$(Platform)'=='Win32'">$(DXSDK_DIR)\Lib\x86</XinputLibs>
  73. <XinputLibs Condition="'$(Platform)'=='x64'">$(DXSDK_DIR)\Lib\x64</XinputLibs>
  74. <XinputDeps>xinput.lib</XinputDeps>
  75. <Win32Defines>LOL_USE_XINPUT;$(Win32Defines)</Win32Defines>
  76. <!-- Windows-specific -->
  77. <Win32Defines>HAVE_STDIO_H;$(Win32Defines)</Win32Defines>
  78. <!-- PS4-specific -->
  79. <OrbisDefines>HAVE_STDIO_H;
  80. $(OrbisDefines)</OrbisDefines>
  81. </PropertyGroup>
  82. <PropertyGroup />
  83. <ItemDefinitionGroup />
  84. <ItemGroup>
  85. <BuildMacro Include="ExternalDir"><Value>$(ExternalDir)</Value></BuildMacro>
  86. <BuildMacro Include="PegtlDir"><Value>$(PegtlDir)</Value></BuildMacro>
  87. <BuildMacro Include="PegtlIncludes"><Value>$(PegtlIncludes)</Value></BuildMacro>
  88. <BuildMacro Include="ImguiDir"><Value>$(ImguiDir)</Value></BuildMacro>
  89. <BuildMacro Include="ImguiIncludes"><Value>$(ImguiIncludes)</Value></BuildMacro>
  90. <BuildMacro Include="LibGccDir"><Value>$(LibGccDir)</Value></BuildMacro>
  91. <BuildMacro Include="LibGccLibs"><Value>$(LibGccLibs)</Value></BuildMacro>
  92. <BuildMacro Include="LibGccDeps"><Value>$(LibGccDeps)</Value></BuildMacro>
  93. <BuildMacro Include="SdlDir"><Value>$(SdlDir)</Value></BuildMacro>
  94. <BuildMacro Include="SdlImageDir"><Value>$(SdlImageDir)</Value></BuildMacro>
  95. <BuildMacro Include="SdlMixerDir"><Value>$(SdlMixerDir)</Value></BuildMacro>
  96. <BuildMacro Include="SdlIncludes"><Value>$(SdlIncludes)</Value></BuildMacro>
  97. <BuildMacro Include="SdlLibs"><Value>$(SdlLibs)</Value></BuildMacro>
  98. <BuildMacro Include="SdlDeps"><Value>$(SdlDeps)</Value></BuildMacro>
  99. <BuildMacro Include="BtPhysDir"><Value>$(BtPhysDir)</Value></BuildMacro>
  100. <BuildMacro Include="BtPhysIncludes"><Value>$(BtPhysIncludes)</Value></BuildMacro>
  101. <BuildMacro Include="GtkDir"><Value>$(GtkDir)</Value></BuildMacro>
  102. <BuildMacro Include="GtkGlDir"><Value>$(GtkGlDir)</Value></BuildMacro>
  103. <BuildMacro Include="GtkIncludes"><Value>$(GtkIncludes)</Value></BuildMacro>
  104. <BuildMacro Include="GtkLibs"><Value>$(GtkLibs)</Value></BuildMacro>
  105. <BuildMacro Include="GtkDeps"><Value>$(GtkDeps)</Value></BuildMacro>
  106. <BuildMacro Include="FfmpegDir"><Value>$(FfmpegDir)</Value></BuildMacro>
  107. <BuildMacro Include="FfmpegIncludes"><Value>$(FfmpegIncludes)</Value></BuildMacro>
  108. <BuildMacro Include="FfmpegLibs"><Value>$(FfmpegLibs)</Value></BuildMacro>
  109. <BuildMacro Include="FfmpegDeps"><Value>$(FfmpegDeps)</Value></BuildMacro>
  110. <BuildMacro Include="AssimpDir"><Value>$(AssimpDir)</Value></BuildMacro>
  111. <BuildMacro Include="AssimpIncludes"><Value>$(AssimpIncludes)</Value></BuildMacro>
  112. <BuildMacro Include="AssimpLibs"><Value>$(AssimpLibs)</Value></BuildMacro>
  113. <BuildMacro Include="AssimpDeps"><Value>$(AssimpDeps)</Value></BuildMacro>
  114. <BuildMacro Include="CacaDir"><Value>$(CacaDir)</Value></BuildMacro>
  115. <BuildMacro Include="CacaIncludes"><Value>$(CacaIncludes)</Value></BuildMacro>
  116. <BuildMacro Include="CacaLibs"><Value>$(CacaLibs)</Value></BuildMacro>
  117. <BuildMacro Include="CacaDeps"><Value>$(CacaDeps)</Value></BuildMacro>
  118. <BuildMacro Include="GdiDeps"><Value>$(GdiDeps)</Value></BuildMacro>
  119. <BuildMacro Include="GlewDir"><Value>$(GlewDir)</Value></BuildMacro>
  120. <BuildMacro Include="GlIncludes"><Value>$(GlIncludes)</Value></BuildMacro>
  121. <BuildMacro Include="GlLibs"><Value>$(GlLibs)</Value></BuildMacro>
  122. <BuildMacro Include="GlDeps"><Value>$(GlDeps)</Value></BuildMacro>
  123. <BuildMacro Include="XinputIncludes"><Value>$(XinputIncludes)</Value></BuildMacro>
  124. <BuildMacro Include="XinputLibs"><Value>$(XinputLibs)</Value></BuildMacro>
  125. <BuildMacro Include="XinputDeps"><Value>$(XinputDeps)</Value></BuildMacro>
  126. <BuildMacro Include="Win32Defines"><Value>$(Win32Defines)</Value></BuildMacro>
  127. <BuildMacro Include="OrbisDeps"><Value>$(OrbisDeps)</Value></BuildMacro>
  128. <BuildMacro Include="OrbisLibs"><Value>$(OrbisLibs)</Value></BuildMacro>
  129. <BuildMacro Include="OrbisDefines"><Value>$(OrbisDefines)</Value></BuildMacro>
  130. </ItemGroup>
  131. <PropertyGroup>
  132. <BinDir Condition="Exists('$(SolutionDir)\lol')">$(SolutionDir)\binaries</BinDir>
  133. <BinDir Condition="!Exists('$(SolutionDir)\lol')">$(LolDir)\binaries</BinDir>
  134. <OutDir>$(BinDir)\$(Platform) $(PlatformToolset) $(Configuration)\</OutDir>
  135. <IntDir>$(BinDir)\$(Platform) $(PlatformToolset) $(Configuration)\$(ProjectName)\</IntDir>
  136. </PropertyGroup>
  137. </Project>