[gtksourceview/win32-readme: 1/4] README.win32: Update build information
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/win32-readme: 1/4] README.win32: Update build information
- Date: Fri, 24 Jun 2022 03:35:14 +0000 (UTC)
commit 53c99f46277dce1f3d7712dbf2ab1419707841ea
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Fri Jun 24 10:43:18 2022 +0800
README.win32: Update build information
Update the info in here to build gtksourceview-5.x. The info here in this file
dated back to the 4.x days.
README.win32 | 30 ++++++++++--------------------
1 file changed, 10 insertions(+), 20 deletions(-)
---
diff --git a/README.win32 b/README.win32
index 7e327fcc..25d9294a 100644
--- a/README.win32
+++ b/README.win32
@@ -5,21 +5,22 @@ Meson is now the supported method of building GtkSourceView with Visual Studio,
of doing so is described in the following section:
Prior to building, you will need the following:
--Python 3.5.x or later
--Meson 0.49.0 (or later) at this time of writing
--A version of Visual Studio 2008 to 2019.
+-Python 3.6.x or later
+-Meson 0.59.0 (or later) at this time of writing
+-A version of Visual Studio 2015 to 2022.
-Ninja build tool (unless --backend=vs is
specified in the Meson configure command line for
- Visual Studio 2010, 2015, 2017, 2019)
+ Visual Studio 2015, 2017, 2019, 2022)
-The pkg-config utility (or a compatible one), either in
your PATH or found by setting PKG_CONFIG to point to
such a tool.
+-CMake, either installed manually or as part of Visual Studio 2017 or later
+ (optional, but recommended, to help locating dependencies)
--GLib 2.48.0 (or later) at this time of writing
--GTK 3.20.0 (or later) at this time of writing
+-GLib 2.70.0 (or later) at this time of writing
+-GTK 4.5.0 (or later) at this time of writing
-LibXML2 2.6 (or later) at this time of writing
--libgladeui 3.9 (or later) at this time of writing [optional]
--GObject-Introspection 1.42.0 (or later) at this time of writing [optional]
+-GObject-Introspection 1.70.0 (or later) at this time of writing [optional]
For the depedent packages, you will need to ensure that their pkg-config (.pc) files
could be found by the pkg-config utility, either directly or by setting PKG_CONFIG_PATH
@@ -45,7 +46,7 @@ To build GtkSourceView, do the following:
on Visual Studio builds.
You may want to specify the following as well:
- --backend=vs: Generate Visual Studio projects for building on Visual Studio 2010, 2015
+ --backend=vs: Generate Visual Studio projects for building on Visual Studio 2015
2017, 2019. This will remove the need for Ninja. Please note that the
generated project files are only valid on the machine they are generated.
@@ -56,14 +57,3 @@ To build GtkSourceView, do the following:
-Install the build results using 'ninja install' or building the 'install' project in the
Visual Studio projects.
-
-Some additional notes on building with Visual Studio 2008:
-===
-The builds generate the SxS manifest files that need to be manually embedded into the built
-DLL and EXE files, which can be done by after running 'ninja install' using the Visual Studio
-command prompt from within the build directory:
-
- for /r %f in (*.dll.manifest) do if exist <install_prefix>\bin\%~nf mt /manifest %f
/outputresource:<install_prefix>\bin\%~nf;2
- for /r %f in (*.exe.manifest) do if exist <install_prefix>\bin\%~nf mt /manifest %f
/outputresource:<install_prefix>\bin\%~nf;1
-
-This is to ensure that the built binaries can be run.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]