summaryrefslogtreecommitdiff
path: root/README_build
blob: 0af40bea3cfaada77da261ce9ce6e7a1ee5652c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Building libsigc++

On Linux, you would ideally get libsigc++ from your distro's official package.
However, this is about building from source.

## autotools

libsigc++ uses autotools as its main build system,
so you can build or install with the regular configure/make steps.
For instance:
  ./configure --prefix=/opt/something
then
  make
or
  make install
You can build the examples and tests, and run the tests, like so:
  make check
We create the tarball release like so:
  make distcheck


## CMake

You may also build libsigc++ with CMake, though it's fairly experimental for now.
For instance,
  cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/something .
then
  make
or
  make install
You can run the tests like so:
  make test


## Microsoft Visual C++

See MSVC_NMake/README.txt.