- <?xml version="1.0" encoding="utf-8"?>
- <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ImportGroup Label="PropertySheets" />
- <PropertyGroup Label="UserMacros">
- <ExternalDir>$(SolutionDir)\..\external</ExternalDir>
-
- <!-- PEGTL -->
- <PegtlDir>$(ExternalDir)\pegtl-0.32</PegtlDir>
- <PegtlIncludes>$(PegtlDir)\include</PegtlIncludes>
-
- <!-- imgui -->
- <ImguiDir>$(ExternalDir)\imgui</ImguiDir>
- <ImguiIncludes>$(ImguiDir)</ImguiIncludes>
-
- <!-- libgcc (from mingw-w64) -->
- <LibGccDir>$(ExternalDir)\libgcc-4.9</LibGccDir>
- <LibGccLibs Condition="'$(Platform)'=='Win32'">$(LibGccDir)\lib\i686-w64-mingw32</LibGccLibs>
- <LibGccLibs Condition="'$(Platform)'=='x64'">$(LibGccDir)\lib\x86_64-w64-mingw32</LibGccLibs>
- <LibGccDeps>libgcc.lib</LibGccDeps>
-
- <!-- SDL -->
- <SdlDir>$(ExternalDir)\sdl-2.0.3</SdlDir>
- <SdlImageDir>$(ExternalDir)\sdl-image-2.0.0</SdlImageDir>
- <SdlMixerDir>$(ExternalDir)\sdl-mixer-2.0.0</SdlMixerDir>
- <SdlIncludes>$(SdlDir)\include;$(SdlImageDir)\include;$(SdlMixerDir)\include</SdlIncludes>
- <SdlLibs Condition="'$(Platform)'=='Win32'">$(SdlDir)\lib\i686-w64-mingw32;$(SdlImageDir)\lib\i686-w64-msvc;$(SdlMixerDir)\lib\i686-w64-msvc</SdlLibs>
- <SdlLibs Condition="'$(Platform)'=='x64'">$(SdlDir)\lib\x86_64-msvc;$(SdlImageDir)\lib\x86_64-msvc;$(SdlMixerDir)\lib\x86_64-msvc</SdlLibs>
- <SdlDeps Condition="'$(Platform)'=='Win32'">SDL2.lib;SDL2main.lib;SDL2_image.lib;SDL2_mixer.lib</SdlDeps>
- <SdlDeps Condition="'$(Platform)'=='x64'">SDL2.lib;SDL2main.lib;SDL2_image.lib;SDL2_mixer.lib</SdlDeps>
- <Win32Defines>HAVE_SDL_H;USE_SDL;$(Win32Defines)</Win32Defines>
- <Win32Defines>USE_SDL_MIXER;USE_SDL_IMAGE;$(Win32Defines)</Win32Defines>
-
- <!-- GTK+ & GtkGl -->
- <GtkDir>$(ExternalDir)\gtk-2.22.1</GtkDir>
- <GtkGlDir>$(ExternalDir)\gtkglarea-2.0.1</GtkGlDir>
- <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>
- <GtkLibs>$(GtkDir)\lib;$(GtkDir)\bin;$(GtkGlDir)\lib</GtkLibs>
- <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>
-
- <!-- FFmpeg -->
- <!--
- <FfmpegDir>$(ExternalDir)\ffmpeg-20141018</FfmpegDir>
- <FfmpegIncludes>$(FfmpegDir)\include</FfmpegIncludes>
- <FfmpegLibs Condition="'$(Platform)'=='Win32'">$(FfmpegDir)\lib\i686-w64-mingw32</FfmpegLibs>
- <FfmpegLibs Condition="'$(Platform)'=='x64'">$(FfmpegDir)\lib\x86_64-w64-mingw32</FfmpegLibs>
- <FfmpegDeps>swscale.lib;avformat.lib;avcodec.lib;swresample.lib;avutil.lib;ws2_32.lib</FfmpegDeps>
- <Win32Defines>USE_FFMPEG;$(Win32Defines)</Win32Defines>
- -->
-
- <!-- Assimp -->
- <AssimpDir>$(ExternalDir)\assimp-3.1.1</AssimpDir>
- <AssimpIncludes>$(AssimpDir)\include</AssimpIncludes>
- <AssimpLibs Condition="'$(Platform)'=='Win32'">$(AssimpDir)\lib\win32</AssimpLibs>
- <AssimpLibs Condition="'$(Platform)'=='x64'">$(AssimpDir)\lib\x64</AssimpLibs>
- <!-- <AssimpDeps>zlibstatic.lib;assimp.lib</AssimpDeps> -->
- <AssimpDeps Condition="'$(Configuration)'=='Release'">zlibstatic.lib;assimp.lib</AssimpDeps>
- <AssimpDeps Condition="'$(Configuration)'=='Debug'">zlibstatic.lib;assimp.lib</AssimpDeps>
- <Win32Defines>USE_ASSIMP;$(Win32Defines)</Win32Defines>
-
- <!-- libcaca -->
- <CacaDir>$(ExternalDir)\libcaca-0.99.beta18</CacaDir>
- <CacaIncludes>$(CacaDir)\include</CacaIncludes>
- <CacaLibs Condition="'$(Platform)'=='Win32'">$(CacaDir)\lib\i686-w64-mingw32</CacaLibs>
- <CacaLibs Condition="'$(Platform)'=='x64'">$(CacaDir)\lib\x86_64-w64-mingw32</CacaLibs>
- <CacaDeps>caca.lib</CacaDeps>
- <Win32Defines>CACA_STATIC;$(Win32Defines)</Win32Defines>
-
- <!-- GDI+ -->
- <GdiDeps>Gdiplus.lib</GdiDeps>
- <Win32Defines>USE_GDIPLUS;$(Win32Defines)</Win32Defines>
-
- <!-- OpenGL & GLEW -->
- <GlewDir>$(ExternalDir)\glew-1.9.0</GlewDir>
- <GlIncludes>$(GlewDir)\include\GL</GlIncludes>
- <GlLibs Condition="'$(Platform)'=='Win32'">$(GlewDir)\lib\i686-w64-mingw32</GlLibs>
- <GlLibs Condition="'$(Platform)'=='x64'">$(GlewDir)\lib\x86_64-w64-mingw32</GlLibs>
- <GlDeps Condition="'$(Platform)'=='Win32'">opengl32.lib;glew32s.lib</GlDeps>
- <GlDeps Condition="'$(Platform)'=='x64'">opengl32.lib;glew32s.lib</GlDeps>
- <Win32Defines Condition="'$(UseOpenGL)'=='true'">HAVE_GL_2X;USE_GLEW;GLEW_STATIC;$(Win32Defines)</Win32Defines>
-
- <!-- Direct3D 9 -->
- <D3d9Includes>$(DXSDK_DIR)\Include</D3d9Includes>
- <D3d9Libs Condition="'$(Platform)'=='Win32'">$(DXSDK_DIR)\Lib\x86</D3d9Libs>
- <D3d9Libs Condition="'$(Platform)'=='x64'">$(DXSDK_DIR)\Lib\x64</D3d9Libs>
- <D3d9Deps Condition="'$(Configuration)'=='Release'">d3d9.lib;d3dx9.lib</D3d9Deps>
- <D3d9Deps Condition="'$(Configuration)'=='Debug'">d3d9.lib;d3dx9d.lib</D3d9Deps>
- <Win32Defines Condition="'$(UseOpenGL)'=='false'">USE_D3D9;$(Win32Defines)</Win32Defines>
-
- <!-- Xinput -->
- <XinputIncludes>$(DXSDK_DIR)\Include</XinputIncludes>
- <XinputLibs Condition="'$(Platform)'=='Win32'">$(DXSDK_DIR)\Lib\x86</XinputLibs>
- <XinputLibs Condition="'$(Platform)'=='x64'">$(DXSDK_DIR)\Lib\x64</XinputLibs>
- <XinputDeps>xinput.lib</XinputDeps>
- <Win32Defines>USE_XINPUT;$(Win32Defines)</Win32Defines>
-
- <!-- Windows-specific -->
- <Win32Defines>HAVE_STDIO_H;$(Win32Defines)</Win32Defines>
-
- <!-- PS4-specific -->
- <OrbisDefines>HAVE_STDIO_H;
- $(OrbisDefines)</OrbisDefines>
-
- <!-- X360-specific -->
- <XboxDefines>$(XboxDefines)</XboxDefines>
-
- </PropertyGroup>
- <PropertyGroup />
-
- <ItemDefinitionGroup />
-
- <ItemGroup>
- <BuildMacro Include="ExternalDir"><Value>$(ExternalDir)</Value></BuildMacro>
- <BuildMacro Include="PegtlDir"><Value>$(PegtlDir)</Value></BuildMacro>
- <BuildMacro Include="PegtlIncludes"><Value>$(PegtlIncludes)</Value></BuildMacro>
- <BuildMacro Include="ImguiDir"><Value>$(ImguiDir)</Value></BuildMacro>
- <BuildMacro Include="ImguiIncludes"><Value>$(ImguiIncludes)</Value></BuildMacro>
- <BuildMacro Include="LibGccDir"><Value>$(LibGccDir)</Value></BuildMacro>
- <BuildMacro Include="LibGccLibs"><Value>$(LibGccLibs)</Value></BuildMacro>
- <BuildMacro Include="LibGccDeps"><Value>$(LibGccDeps)</Value></BuildMacro>
- <BuildMacro Include="SdlDir"><Value>$(SdlDir)</Value></BuildMacro>
- <BuildMacro Include="SdlImageDir"><Value>$(SdlImageDir)</Value></BuildMacro>
- <BuildMacro Include="SdlMixerDir"><Value>$(SdlMixerDir)</Value></BuildMacro>
- <BuildMacro Include="SdlIncludes"><Value>$(SdlIncludes)</Value></BuildMacro>
- <BuildMacro Include="SdlLibs"><Value>$(SdlLibs)</Value></BuildMacro>
- <BuildMacro Include="SdlDeps"><Value>$(SdlDeps)</Value></BuildMacro>
- <BuildMacro Include="BtPhysDir"><Value>$(BtPhysDir)</Value></BuildMacro>
- <BuildMacro Include="BtPhysIncludes"><Value>$(BtPhysIncludes)</Value></BuildMacro>
- <BuildMacro Include="GtkDir"><Value>$(GtkDir)</Value></BuildMacro>
- <BuildMacro Include="GtkGlDir"><Value>$(GtkGlDir)</Value></BuildMacro>
- <BuildMacro Include="GtkIncludes"><Value>$(GtkIncludes)</Value></BuildMacro>
- <BuildMacro Include="GtkLibs"><Value>$(GtkLibs)</Value></BuildMacro>
- <BuildMacro Include="GtkDeps"><Value>$(GtkDeps)</Value></BuildMacro>
- <BuildMacro Include="FfmpegDir"><Value>$(FfmpegDir)</Value></BuildMacro>
- <BuildMacro Include="FfmpegIncludes"><Value>$(FfmpegIncludes)</Value></BuildMacro>
- <BuildMacro Include="FfmpegLibs"><Value>$(FfmpegLibs)</Value></BuildMacro>
- <BuildMacro Include="FfmpegDeps"><Value>$(FfmpegDeps)</Value></BuildMacro>
- <BuildMacro Include="AssimpDir"><Value>$(AssimpDir)</Value></BuildMacro>
- <BuildMacro Include="AssimpIncludes"><Value>$(AssimpIncludes)</Value></BuildMacro>
- <BuildMacro Include="AssimpLibs"><Value>$(AssimpLibs)</Value></BuildMacro>
- <BuildMacro Include="AssimpDeps"><Value>$(AssimpDeps)</Value></BuildMacro>
- <BuildMacro Include="CacaDir"><Value>$(CacaDir)</Value></BuildMacro>
- <BuildMacro Include="CacaIncludes"><Value>$(CacaIncludes)</Value></BuildMacro>
- <BuildMacro Include="CacaLibs"><Value>$(CacaLibs)</Value></BuildMacro>
- <BuildMacro Include="CacaDeps"><Value>$(CacaDeps)</Value></BuildMacro>
- <BuildMacro Include="GdiDeps"><Value>$(GdiDeps)</Value></BuildMacro>
- <BuildMacro Include="GlewDir"><Value>$(GlewDir)</Value></BuildMacro>
- <BuildMacro Include="GlIncludes"><Value>$(GlIncludes)</Value></BuildMacro>
- <BuildMacro Include="GlLibs"><Value>$(GlLibs)</Value></BuildMacro>
- <BuildMacro Include="GlDeps"><Value>$(GlDeps)</Value></BuildMacro>
- <BuildMacro Include="D3d9Includes"><Value>$(D3d9Includes)</Value></BuildMacro>
- <BuildMacro Include="D3d9Libs"><Value>$(D3d9Libs)</Value></BuildMacro>
- <BuildMacro Include="D3d9Deps"><Value>$(D3d9Deps)</Value></BuildMacro>
- <BuildMacro Include="XinputIncludes"><Value>$(XinputIncludes)</Value></BuildMacro>
- <BuildMacro Include="XinputLibs"><Value>$(XinputLibs)</Value></BuildMacro>
- <BuildMacro Include="XinputDeps"><Value>$(XinputDeps)</Value></BuildMacro>
- <BuildMacro Include="Win32Defines"><Value>$(Win32Defines)</Value></BuildMacro>
- <BuildMacro Include="XboxDefines"><Value>$(XboxDefines)</Value></BuildMacro>
- <BuildMacro Include="OrbisDeps"><Value>$(OrbisDeps)</Value></BuildMacro>
- <BuildMacro Include="OrbisLibs"><Value>$(OrbisLibs)</Value></BuildMacro>
- <BuildMacro Include="OrbisDefines"><Value>$(OrbisDefines)</Value></BuildMacro>
- </ItemGroup>
-
- <PropertyGroup>
- <!-- Deliberately omit the \ before .. because of an Incredibuild or Visual Studio bug
- that messes with the log file location. http://stackoverflow.com/q/12101464/111461 -->
- <OutDir>$(SolutionDir)..\binaries\$(Platform) $(PlatformToolset) $(Configuration)\</OutDir>
- <IntDir>$(SolutionDir)..\binaries\$(Platform) $(PlatformToolset) $(Configuration)\$(ProjectName)\</IntDir>
- </PropertyGroup>
-
- </Project>
|