Skip to content

Commit 1720ee1

Browse files
committed
[building] Update BUILDING.md instructions as discussed on GitHub
1 parent bbefa1a commit 1720ee1

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

BUILDING.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,32 @@
11
Building
22
--------
33

4-
You can choose to build this library either with `cmake` or `automake`.
4+
You can choose to build this library either with `autotools` or `cmake`.
55
The pre-requisite for compilations are:
66

77
- you should have cloned this repository with `git clone https://github.com/libsigcplusplus/libsigcplusplus.git`
8-
- you should have a modern version of `cmake` or `automake` depending on your preference
9-
- either GCC or Clang should be installed with a version that supports at least `C++17`
8+
- you should have a modern version of `autotools` (>= 2.59) or `cmake` (>= 3.0.2) depending on your preference
9+
10+
## autotools
11+
12+
When using the `autotools` option also make sure that you have [mm-common](https://github.com/GNOME/mm-common) installed.
13+
14+
To build `libsigc++` with `autotools` proceed as follows:
15+
16+
- `cd libsigcpluscplus`
17+
- `./autogen.sh`
18+
- `./configure`
19+
- `make`
20+
21+
This will build the library including test cases. If you wish to use different options consider `./configure --help`
1022

1123
## CMake
1224

1325
To build `libsigc++` with `CMake` proceed as follows:
1426

27+
- `mkdir libsigcplusplus/build`
1528
- `cd libsigcplusplus/build`
1629
- `cmake ..`
1730
- `make`
1831

19-
This will build the library including all it's test cases. If you wish to use different options consider `make help`
20-
21-
## automake
32+
This will build the library including all its test cases. If you wish to use different options consider `make help`

0 commit comments

Comments
 (0)