summaryrefslogtreecommitdiffstats
blob: fa5759e25e094d07151205c2934e1a3819ccbb57 (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
Prerequisites
------------
- GCC
- Python
- OpenSSL
- Qt Open Source Edition (optional; not needed for Swiften)

Building
--------
- Create a file 'config.py' with the following contents, reflecting your local
  setup:
		qt = "path/to/qt"
	(e.g. qt = "/usr/share/qt4")
- Run 
		./scons
- To build only a subdir, add the path as a target to scons. E.g., for Swift:
		./scons Swift

Running tests
-------------
- Run
		./scons test=unit
	for running the unit tests.

Installing
----------
- To install swift in /usr/local, run
		./scons SWIFT_INSTALLDIR=/usr/local /usr/local