summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/BuildingOnUnix.txt')
-rw-r--r--Documentation/BuildingOnUnix.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/BuildingOnUnix.txt b/Documentation/BuildingOnUnix.txt
new file mode 100644
index 0000000..8de73c8
--- /dev/null
+++ b/Documentation/BuildingOnUnix.txt
@@ -0,0 +1,25 @@
+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, or
+ ./scons test=all
+ for running all tests.