[gtkmm/kjellahl/meson-build-master: 7/7] Update Visual Studio NMake README
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm/kjellahl/meson-build-master: 7/7] Update Visual Studio NMake README
- Date: Thu, 4 Jun 2020 10:12:40 +0000 (UTC)
commit 9c60ae1bd5a7ba790eeba1c118c01e7f5f29afcb
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Thu Jun 4 18:10:22 2020 +0800
Update Visual Studio NMake README
Let people know of the new USE_MESON_LIBS option and the implications that
may be involved
MSVC_NMake/README | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/MSVC_NMake/README b/MSVC_NMake/README
index a9e6a0de..86b3dc63 100644
--- a/MSVC_NMake/README
+++ b/MSVC_NMake/README
@@ -2,7 +2,7 @@ Building gtkmm-3.0 with Visual Studio 2017
* You will need Visual Studio 2017 (MSVC 15.0). Earlier versions of the compiler, including 14.0 and earlier
will not work.
* Install the latest Win32 GTK+ Development files from ftp://ftp.gnome.org/pub/GNOME/binaries/win32/gtk+
-* Build libsigc++, glibmm, cairomm atkmm and pangomm from source.
+* Build libsigc++, glibmm, cairomm, atkmm and pangomm from source.
* Use the Visual Studio command prompt that is appropriate for your build and navigate to this directory.
* Run nmake /f Makefile.vc CFG=[debug|release]. Also pass in PREFIX=<path> to this command line if
GTK+, libsigc++, glibmm, cairomm, atkmm and pangomm are not in $(srcroot)\..\vs15\$(platform). You
@@ -10,6 +10,11 @@ Building gtkmm-3.0 with Visual Studio 2017
if the GTK+-4.x build that is being used is built with Vulkan support, so that Vulkan's headers and
libraries can be found. Pass in DISABLE_DEPRECATED to disable building deprecated gtkmm APIs into the
final DLL.
+* If you have built libsigc++, glibmm, cairomm, atkmm and pangomm on Visual Studio using the Meson build
+ system instead of using NMake, you can pass in `USE_MESON_LIBS=1` to the NMake command line to link to
+ these libraries. Note that mixing dependent -mm libraries built from NMake Makefiles and Meson is not
+ recommended nor supported directly, and one is responsible to ensure gtkmm and the dependent -mm libraries
+ link to the same DLL
* Build the tests by appending 'test' to the NMake command line in the previous step.
Timothy M. Shead & Cedric Gustin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]