File tree Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change 1
1
Building
2
2
--------
3
3
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 ` .
5
5
The pre-requisite for compilations are:
6
6
7
7
- 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 `
10
22
11
23
## CMake
12
24
13
25
To build ` libsigc++ ` with ` CMake ` proceed as follows:
14
26
27
+ - ` mkdir libsigcplusplus/build `
15
28
- ` cd libsigcplusplus/build `
16
29
- ` cmake .. `
17
30
- ` make `
18
31
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 `
You can’t perform that action at this time.
0 commit comments