[gobject-introspection] MSVC.README.rst: Mention about the config options



commit 6338e5cf2dbeff95500f5e01c30e8ee14b446344
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Sat Aug 11 02:25:58 2018 +0800

    MSVC.README.rst: Mention about the config options
    
    Mention about the configuration options cairo-libname and python as they
    are likely necessary for G-I to be built and used successfully.

 MSVC.README.rst | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/MSVC.README.rst b/MSVC.README.rst
index 82000773..91e03dd3 100644
--- a/MSVC.README.rst
+++ b/MSVC.README.rst
@@ -51,7 +51,15 @@ well.
 Open a Visual Studio command prompt and create an empty build directory (which needs
 to be on the same drive as the G-I sources).  In that directory, run the following::
 
-  python $(PythonInstallationPath)\scripts\meson.py $(G-I_srcdir) --buildtype=<build_configuration> 
--prefix=$(PREFIX) -Dcairo-libname=<DLL filename of cairo-gobject>
+  python $(PythonInstallationPath)\scripts\meson.py $(G-I_srcdir) --buildtype=<build_configuration> 
--prefix=$(PREFIX) -Dcairo-libname=<DLL filename of cairo-gobject> -Dpython=<full path to Python interpreter 
to build _giscanner.pyd>
+
+The -Dcairo-libname is likely necessary as the default DLL file name for Cairo-GObject
+may likely not match the default "libcairo-gobject-2.dll", which is the default
+DLL filename for Cairo-GObject that is built with Visual Studio.
+
+The -Dpython is likely necessary when using multiple Python installations on the
+system and is necessary when building with Visual Studio 2008~2013 when building
+with later versions of Meson (which requires Python 3.5+), due to CRT differences.
 
 When Meson completes configuring and generating the build files, proceed building
 using Ninja or the generated Visual Studio projects.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]