@@ -33,6 +33,18 @@ packages.
33
33
34
34
Building from the [ libsigc++ release tarball] ( https://github.com/libsigcplusplus/libsigcplusplus/releases ) is easier than building from git.
35
35
36
+ ### Building from a tarball with Meson
37
+
38
+ For instance:
39
+ ``` sh
40
+ $ meson --prefix /usr/local --libdir lib yourbuilddir .
41
+ $ cd yourbuilddir
42
+ $ ninja
43
+ $ ninja install
44
+ ```
45
+
46
+ ### Building from a tarball with autotools
47
+
36
48
For instance:
37
49
``` sh
38
50
$ ./configure --prefix=/usr/local
@@ -45,8 +57,21 @@ $ make install
45
57
Building from git can be difficult so you should prefer building from a release
46
58
tarball unless you need to work on the libsigc++ code itself.
47
59
48
- To build from git you may use either the autotools build (used by most
49
- developers) or CMake (should work too).
60
+ To build from git you may use either the meson build (added in December 2019),
61
+ the autotools build (used by most developers in the past) or CMake (should work too).
62
+
63
+ ### Building from git with Meson
64
+
65
+ You must have meson properly installed (meson, ninja, etc) and you
66
+ will also need [ mm-common] ( https://gitlab.gnome.org/GNOME/mm-common/ )
67
+ version 1.0.0 or higher.
68
+
69
+ ``` sh
70
+ $ meson --prefix /usr/local --libdir lib yourbuilddir .
71
+ $ cd yourbuilddir
72
+ $ ninja
73
+ $ ninja test
74
+ ```
50
75
51
76
### Building from git with autotools
52
77
@@ -73,3 +98,6 @@ $ cmake path/to/libsigcplusplus
73
98
$ make
74
99
```
75
100
101
+ ## Building with Microsoft Visual C++
102
+
103
+ See MSVC_NMake/README.txt.
0 commit comments