diff --git a/README.md b/README.md index 12dccbdfa..d70a4cf39 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,8 @@ On **Windows** you can use [Vcpkg](https://github.com/Microsoft/vcpkg) to instal vcpkg.exe install giflib libjpeg-turbo libpng cairo glib tiff libexif glib pango --triplet x86-windows vcpkg.exe install giflib libjpeg-turbo libpng cairo glib tiff libexif glib pango --triplet x64-windows +Note: libfontconfig.dll appears to be missing when using recent versions of vcpkg. These steps have been validated with vcpkg version 2020.07. + ### Build instructions To build on **OSX** without X11: diff --git a/libgdiplus.sln b/libgdiplus.sln index e6b04d545..e1254f49c 100644 --- a/libgdiplus.sln +++ b/libgdiplus.sln @@ -1,10 +1,12 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26403.7 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30717.126 MinimumVisualStudioVersion = 10.0.40219.1 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libgdiplus", "src\libgdiplus.vcxproj", "{BE724C6E-BF07-4B3E-901B-7584BC7B6C8A}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libgdiplus-tests", "tests\libgdiplus-tests.vcxproj", "{01032ED3-5507-485E-9FAF-9A302C7B8AB1}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 @@ -21,8 +23,19 @@ Global {BE724C6E-BF07-4B3E-901B-7584BC7B6C8A}.Release|Win32.Build.0 = Release|Win32 {BE724C6E-BF07-4B3E-901B-7584BC7B6C8A}.Release|x64.ActiveCfg = Release|x64 {BE724C6E-BF07-4B3E-901B-7584BC7B6C8A}.Release|x64.Build.0 = Release|x64 + {01032ED3-5507-485E-9FAF-9A302C7B8AB1}.Debug|Win32.ActiveCfg = Debug|Win32 + {01032ED3-5507-485E-9FAF-9A302C7B8AB1}.Debug|Win32.Build.0 = Debug|Win32 + {01032ED3-5507-485E-9FAF-9A302C7B8AB1}.Debug|x64.ActiveCfg = Debug|x64 + {01032ED3-5507-485E-9FAF-9A302C7B8AB1}.Debug|x64.Build.0 = Debug|x64 + {01032ED3-5507-485E-9FAF-9A302C7B8AB1}.Release|Win32.ActiveCfg = Release|Win32 + {01032ED3-5507-485E-9FAF-9A302C7B8AB1}.Release|Win32.Build.0 = Release|Win32 + {01032ED3-5507-485E-9FAF-9A302C7B8AB1}.Release|x64.ActiveCfg = Release|x64 + {01032ED3-5507-485E-9FAF-9A302C7B8AB1}.Release|x64.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {14C6BE85-CCB1-48B6-8070-E0AC9EC107EF} + EndGlobalSection EndGlobal diff --git a/tests/libgdiplus-tests.vcxproj b/tests/libgdiplus-tests.vcxproj new file mode 100644 index 000000000..80a9fea4a --- /dev/null +++ b/tests/libgdiplus-tests.vcxproj @@ -0,0 +1,124 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + {01032ed3-5507-485e-9faf-9a302c7b8ab1} + Win32Proj + 10.0.18362.0 + Application + v142 + Unicode + + + + + + + + + C:\Users\frede\source\repos\libgdiplus\src;$(VC_IncludePath);$(WindowsSDK_IncludePath);$(IncludePath) + $(Platform)\$(Configuration)\ + $(SolutionDir)$(Platform)\$(Configuration)\ + + + + + + + {be724c6e-bf07-4b3e-901b-7584bc7b6c8a} + + + + + + + + + + + + + NotUsing + pch.h + Disabled + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebugDLL + Level3 + + + true + Console + + + + + Use + pch.h + Disabled + X64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebugDLL + Level3 + + + true + Console + + + + + Use + pch.h + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + MultiThreadedDLL + Level3 + ProgramDatabase + + + true + Console + true + true + + + + + Use + pch.h + X64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + MultiThreadedDLL + Level3 + ProgramDatabase + + + true + Console + true + true + + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + \ No newline at end of file