From 07449fce39d6c2fdcd66e6dd0ecd3c960b45e3c5 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Wed, 13 Jun 2012 11:36:00 +0000 Subject: [PATCH] build: add a new libcaca Windows build and add the proper MSBuild rules to link with it. --- win32/Lol.Core.Vars.props | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/win32/Lol.Core.Vars.props b/win32/Lol.Core.Vars.props index dfad59d8..5e426898 100644 --- a/win32/Lol.Core.Vars.props +++ b/win32/Lol.Core.Vars.props @@ -17,6 +17,7 @@ $(SdlDir)\lib\x86_64-w64-mingw32 SDL.lib;SDLmain.lib;SDL_image.lib;SDL_mixer.lib libSDL.a;libSDLmain.a + HAVE_SDL_H;USE_SDL;$(Win32Defines) $(ContribDir)\gtk-2.22.1 @@ -25,8 +26,17 @@ $(GtkDir)\lib;$(GtkDir)\bin;$(GtkGlDir)\lib 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 + + $(ContribDir)\libcaca-0.99.beta18 + $(CacaDir)\include + $(CacaDir)\lib\i686-w64-mingw32 + $(CacaDir)\lib\x86_64-w64-mingw32 + libcaca.lib + CACA_STATIC;$(Win32Defines) + Gdiplus.lib + USE_GDIPLUS;$(Win32Defines) $(ContribDir)\glew-1.7.0 @@ -34,6 +44,7 @@ $(GlewDir)\lib\i686-w64-mingw32 $(GlewDir)\lib\x86_64-w64-mingw32 opengl32.lib;glew32.lib + HAVE_GL_2X;USE_GLEW;GLEW_STATIC;$(Win32Defines) $(DXSDK_DIR)\Include @@ -41,9 +52,8 @@ $(DXSDK_DIR)\Lib\x64 d3d9.lib;d3dx9.lib;xinput.lib d3d9.lib;d3dx9d.lib;xinput.lib + USE_D3D9;$(Win32Defines) - HAVE_SDL_H;USE_SDL;USE_GDIPLUS;HAVE_GL_2X;USE_GLEW;GLEW_STATIC - HAVE_SDL_H;USE_SDL;USE_GDIPLUS;USE_D3D9 @@ -63,6 +73,10 @@ $(GtkIncludes) $(GtkLibs) $(GtkDeps) + $(CacaDir) + $(CacaIncludes) + $(CacaLibs) + $(CacaDeps) $(GdiDeps) $(GlewDir) $(GlIncludes)