Skip to content

Commit ea27eaf

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 d83dcfc commit ea27eaf

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

MSVC_NMake/MSVC-Builds.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Instructions for building libsigc++ on Visual Studio
33

44
Building libsigc++ on Windows is now supported using Visual Studio
55
versions 2017 or later in both 32-bit and 64-bit (x64 and ARM64) flavors,
6-
via NMake Makefiles. Due to `C++17` usage, Visual Studio 2015 or
6+
via NMake Makefiles, Meson or CMake. Due to `C++17` usage, Visual Studio 2015 or
77
earlier is not supported, and any use of the headers installed with
88
this package will require the use of the `/std:c++17` compiler flag.
99

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

0 commit comments

Comments
 (0)