From e832856db602fe18c5ada71b608f77cb74cd4218 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Wed, 18 Dec 2024 19:34:29 +0100 Subject: [PATCH] VisualC: use static runtime + link with /OPT:ICF and /OPT:REF --- VisualC/SDL_image.vcxproj | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/VisualC/SDL_image.vcxproj b/VisualC/SDL_image.vcxproj index 041bc2ab..77e17af9 100644 --- a/VisualC/SDL_image.vcxproj +++ b/VisualC/SDL_image.vcxproj @@ -101,7 +101,7 @@ Disabled 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-6.dll";LOAD_WEBP;LOAD_WEBP_DYNAMIC="libwebp-7.dll";LOAD_WEBPDEMUX_DYNAMIC="libwebpdemux-2.dll";LOAD_XCF;LOAD_XPM;LOAD_XV;%(PreprocessorDefinitions) - MultiThreadedDLL + MultiThreadedDebug Level3 OldStyle StreamingSIMDExtensions @@ -128,11 +128,10 @@ 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-6.dll";LOAD_WEBP;LOAD_WEBP_DYNAMIC="libwebp-7.dll";LOAD_WEBPDEMUX_DYNAMIC="libwebpdemux-2.dll";LOAD_XCF;LOAD_XPM;LOAD_XV;%(PreprocessorDefinitions) - MultiThreadedDLL + MultiThreadedDebug Level3 Disabled OldStyle - StreamingSIMDExtensions _DEBUG;%(PreprocessorDefinitions) @@ -156,7 +155,7 @@ 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-6.dll";LOAD_WEBP;LOAD_WEBP_DYNAMIC="libwebp-7.dll";LOAD_WEBPDEMUX_DYNAMIC="libwebpdemux-2.dll";LOAD_XCF;LOAD_XPM;LOAD_XV;%(PreprocessorDefinitions) - MultiThreadedDLL + MultiThreaded Level3 StreamingSIMDExtensions @@ -166,6 +165,8 @@ SDL3.lib;%(AdditionalDependencies) Windows + true + true @@ -181,9 +182,8 @@ 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-6.dll";LOAD_WEBP;LOAD_WEBP_DYNAMIC="libwebp-7.dll";LOAD_WEBPDEMUX_DYNAMIC="libwebpdemux-2.dll";LOAD_XCF;LOAD_XPM;LOAD_XV;%(PreprocessorDefinitions) - MultiThreadedDLL + MultiThreaded Level3 - StreamingSIMDExtensions NDEBUG;%(PreprocessorDefinitions) @@ -191,6 +191,8 @@ Windows SDL3.lib;%(AdditionalDependencies) + true + true