From 50740b37ba5f468316edf6cf6ee97b61f2c7addd Mon Sep 17 00:00:00 2001 From: Alexei Podtelezhnikov Date: Wed, 6 Dec 2023 23:33:32 -0500 Subject: [PATCH] [msbuild] Streamline the process. MSBuild.exe can now be fired from the root folder without options. * builds/windows/vc2010/freetype.sln: Relocated to... * MSBuild.sln: ... here with minor changes. * MSBuild.rsp: New file with command line options. * docs/INSTALL: Reference `MSBuild.sln`. --- MSBuild.rsp | 2 ++ .../windows/vc2010/freetype.sln => MSBuild.sln | 16 +++++++++++++++- docs/INSTALL | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 MSBuild.rsp rename builds/windows/vc2010/freetype.sln => MSBuild.sln (83%) diff --git a/MSBuild.rsp b/MSBuild.rsp new file mode 100644 index 000000000..3eba50762 --- /dev/null +++ b/MSBuild.rsp @@ -0,0 +1,2 @@ +#/p:WindowsTargetPlatformVersion=10.0.16299.0 +/p:Configuration="Release" diff --git a/builds/windows/vc2010/freetype.sln b/MSBuild.sln similarity index 83% rename from builds/windows/vc2010/freetype.sln rename to MSBuild.sln index d88d70a26..001961175 100644 --- a/builds/windows/vc2010/freetype.sln +++ b/MSBuild.sln @@ -1,6 +1,20 @@ Microsoft Visual Studio Solution File, Format Version 11.00 # Visual Studio Express 2012 for Windows Desktop -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "freetype", "freetype.vcxproj", "{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}" +# +# You can build FreeType with MSBuild as follows +# +# MSBuild.exe -t:Rebuild +# -p:Configuration=Debug +# -p:Platform=x64 +# -p:UserDefines=FT_DEBUG_LOGGING +# MSBuild.sln +# +# or with different appropriate switches. The library file +# freetype.dll and/or freetype.lib should appear in the objs/ +# folder. A copy should be sent to ../freetype-demos/bin/ +# to be used with the demo programs. +# +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "freetype", "builds\windows\vc2010\freetype.vcxproj", "{78B079BD-9FC7-4B9E-B4A6-96DA0F00248B}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/docs/INSTALL b/docs/INSTALL index 49ab112e4..1795ca3c2 100644 --- a/docs/INSTALL +++ b/docs/INSTALL @@ -59,7 +59,7 @@ II. Normal installation and upgrades CMake :: see `CMakeLists.txt` for more information Meson :: see `meson.build` for more information - MSBuild :: see `builds/windows/vc2010/freetype.vcxproj` + MSBuild :: see `MSBuild.sln` for more information MMS :: see `vms_make.com` and `docs/INSTALL.VMS`