From 66b07b8eab00585646e6bf280a3f46c133357afa Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Fri, 13 Dec 2024 20:25:28 +0100 Subject: [PATCH] Make VisualC project compatible with Visual Studio 2017 (and newer) --- VisualC/SDL_image.vcxproj | 41 +++++++++++++-------------------------- 1 file changed, 13 insertions(+), 28 deletions(-) diff --git a/VisualC/SDL_image.vcxproj b/VisualC/SDL_image.vcxproj index 5ed188bf..2b0ef2f9 100644 --- a/VisualC/SDL_image.vcxproj +++ b/VisualC/SDL_image.vcxproj @@ -22,39 +22,28 @@ SDL2_image {2BD5534E-00E2-4BEA-AC96-D9A92EA24696} SDL2_image + 10.0 DynamicLibrary + $(DefaultPlatformToolset) DynamicLibrary + $(DefaultPlatformToolset) DynamicLibrary + $(DefaultPlatformToolset) DynamicLibrary + $(DefaultPlatformToolset) - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 @@ -101,13 +90,13 @@ true true Win32 - .\Debug/SDL2_image.tlb + ./$(Configuration)/$(Platform)/SDL2_image.tlb Disabled - $(ProjectDir)\..\include;external\include;%(AdditionalIncludeDirectories) + $(ProjectDir)..\include;external\include;%(AdditionalIncludeDirectories) DLL_EXPORT;_DEBUG;WIN32;_WINDOWS;USE_STBIMAGE;LOAD_AVIF;LOAD_AVIF_DYNAMIC="libavif-16.dll";LOAD_BMP;LOAD_GIF;LOAD_JPG;LOAD_LBM;LOAD_PCX;LOAD_PNG;LOAD_PNM;LOAD_QOI;LOAD_SVG;LOAD_TGA;LOAD_TIF;LOAD_TIF_DYNAMIC="libtiff-5.dll";LOAD_WEBP;LOAD_WEBP_DYNAMIC="libwebp-7.dll";LOAD_WEBPDEMUX_DYNAMIC="libwebpdemux-2.dll";LOAD_XCF;LOAD_XPM;LOAD_XV;%(PreprocessorDefinitions) MultiThreadedDLL Level3 @@ -122,7 +111,6 @@ true Windows - @@ -130,12 +118,12 @@ true true X64 - .\Debug/SDL2_image.tlb + ./$(Configuration)/$(Platform)/SDL2_image.tlb - $(ProjectDir)\..\include;external\include;%(AdditionalIncludeDirectories) + $(ProjectDir)..\include;external\include;%(AdditionalIncludeDirectories) DLL_EXPORT;_DEBUG;WIN32;_WINDOWS;USE_STBIMAGE;LOAD_AVIF;LOAD_AVIF_DYNAMIC="libavif-16.dll";LOAD_BMP;LOAD_GIF;LOAD_JPG;LOAD_LBM;LOAD_PCX;LOAD_PNG;LOAD_PNM;LOAD_QOI;LOAD_SVG;LOAD_TGA;LOAD_TIF;LOAD_TIF_DYNAMIC="libtiff-5.dll";LOAD_WEBP;LOAD_WEBP_DYNAMIC="libwebp-7.dll";LOAD_WEBPDEMUX_DYNAMIC="libwebpdemux-2.dll";LOAD_XCF;LOAD_XPM;LOAD_XV;%(PreprocessorDefinitions) MultiThreadedDLL Level3 @@ -151,7 +139,6 @@ true Windows - @@ -159,12 +146,12 @@ true true Win32 - .\Release/SDL2_image.tlb + ./$(Configuration)/$(Platform)/SDL2_image.tlb - $(ProjectDir)\..\include;external\include;%(AdditionalIncludeDirectories) + $(ProjectDir)..\include;external\include;%(AdditionalIncludeDirectories) DLL_EXPORT;NDEBUG;WIN32;_WINDOWS;USE_STBIMAGE;LOAD_AVIF;LOAD_AVIF_DYNAMIC="libavif-16.dll";LOAD_BMP;LOAD_GIF;LOAD_JPG;LOAD_LBM;LOAD_PCX;LOAD_PNG;LOAD_PNM;LOAD_QOI;LOAD_SVG;LOAD_TGA;LOAD_TIF;LOAD_TIF_DYNAMIC="libtiff-5.dll";LOAD_WEBP;LOAD_WEBP_DYNAMIC="libwebp-7.dll";LOAD_WEBPDEMUX_DYNAMIC="libwebpdemux-2.dll";LOAD_XCF;LOAD_XPM;LOAD_XV;%(PreprocessorDefinitions) MultiThreadedDLL Level3 @@ -177,7 +164,6 @@ SDL2.lib;%(AdditionalDependencies) Windows - @@ -185,12 +171,12 @@ true true X64 - .\Release/SDL2_image.tlb + ./$(Configuration)/$(Platform)/SDL2_image.tlb - $(ProjectDir)\..\include;external\include;%(AdditionalIncludeDirectories) + $(ProjectDir)..\include;external\include;%(AdditionalIncludeDirectories) DLL_EXPORT;NDEBUG;WIN32;_WINDOWS;USE_STBIMAGE;LOAD_AVIF;LOAD_AVIF_DYNAMIC="libavif-16.dll";LOAD_BMP;LOAD_GIF;LOAD_JPG;LOAD_LBM;LOAD_PCX;LOAD_PNG;LOAD_PNM;LOAD_QOI;LOAD_SVG;LOAD_TGA;LOAD_TIF;LOAD_TIF_DYNAMIC="libtiff-5.dll";LOAD_WEBP;LOAD_WEBP_DYNAMIC="libwebp-7.dll";LOAD_WEBPDEMUX_DYNAMIC="libwebpdemux-2.dll";LOAD_XCF;LOAD_XPM;LOAD_XV;%(PreprocessorDefinitions) MultiThreadedDLL Level3 @@ -203,7 +189,6 @@ Windows SDL2.lib;%(AdditionalDependencies) -