diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2018-08-11 02:25:58 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2018-08-11 02:28:58 +0800 |
commit | 6338e5cf2dbeff95500f5e01c30e8ee14b446344 (patch) | |
tree | 6ec0765ba2be76abd60b4172811d45b8ec034d77 /MSVC.README.rst | |
parent | 9deb011eb6d5b55a69fc64443080161b1a3097ca (diff) | |
download | gobject-introspection-6338e5cf2dbeff95500f5e01c30e8ee14b446344.tar.gz |
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.
Diffstat (limited to 'MSVC.README.rst')
-rw-r--r-- | MSVC.README.rst | 10 |
1 files changed, 9 insertions, 1 deletions
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. |