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.
 
 
 

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