Skip to content

Commit e22668d

Browse files
fanc999-1kjellahl
authored andcommitted
MSVC-Builds.md: Add info on CMake and Meson
Let people know it is also supported to build libsigc++ using CMake or Meson with Visual Studio and the tools required for builds directly from GIT checkouts
1 parent a84ec78 commit e22668d

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

MSVC_NMake/MSVC-Builds.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ libsigc++ itself has no external dependencies, but building the
1212
benchmark test program will require an installation of the Boost
1313
C++ libraries.
1414

15-
Building with NMake
16-
-
15+
## Building with NMake
16+
1717
The following describes what items are built with the following
1818
targets:
1919

@@ -68,3 +68,17 @@ link to release builds of Boost.
6868
* `STATIC`: Optional. Set if building libsigc++ as a static library. Note that
6969
for building items that use this static build, `/DLIBSIGCXX_STATIC`
7070
must be passed into the compiler flags.
71+
72+
## Building using Meson or CMake
73+
74+
Please also see the items in `$(srcroot)/README.md` for further info.
75+
76+
For Meson builds, if building with `maintainer-mode` (such as explicitly requested or
77+
building from a GIT checkout), you will need to also install Doxygen, LLVM (likely needed by
78+
Doxygen) and GraphViz unless you pass in `-Dbuild-documentation=false` in your Meson
79+
configure command line. You will still need to have `mm-common` installed with its `bin`
80+
directory in your `%PATH%`, in addition to the PERL interpreter and `m4`
81+
executable as noted in the [NMake builds](#Building-with-NMake) section.
82+
83+
If building without enabling `maintainer-mode` from a release tarball, it is sufficient to
84+
build with Visual Studio 2017 or later, just as in the NMake builds.

0 commit comments

Comments
 (0)