aboutsummaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-05-01 21:34:00 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-05-01 21:34:00 +0200
commite90249e730098ce554147786fe2dd94c7945c520 (patch)
tree1a5833eac3a10ad2a8b38f9a27dfd5c327a75be5 /INSTALL.md
parentddaf9295a99c25292654e29b9391eb9290ad7ad2 (diff)
parent17f5d8f5023f496cb09b2800786af1a43aabf247 (diff)
downloadlibayatana-common-e90249e730098ce554147786fe2dd94c7945c520.tar.gz
libayatana-common-e90249e730098ce554147786fe2dd94c7945c520.tar.bz2
libayatana-common-e90249e730098ce554147786fe2dd94c7945c520.zip
Merge branch 'tari01-pr/add-install'
Attributes GH PR #14: https://github.com/AyatanaIndicators/libayatana-common/pull/14
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md31
1 files changed, 31 insertions, 0 deletions
diff --git a/INSTALL.md b/INSTALL.md
new file mode 100644
index 0000000..19b6373
--- /dev/null
+++ b/INSTALL.md
@@ -0,0 +1,31 @@
+# Build and installation instructions
+
+## For end-users and packagers
+
+```
+mkdir build
+cd build
+cmake ..
+make
+sudo make install
+```
+## For testers - unit tests only
+
+```
+mkdir build
+cd build
+cmake .. -DENABLE_TESTS=ON
+make
+make test
+```
+## For testers - both unit tests and code coverage
+
+```
+mkdir build
+cd build
+cmake .. -DENABLE_COVERAGE=ON
+make
+make test
+make coverage
+```
+**The install prefix defaults to `/usr`, change it with `-DCMAKE_INSTALL_PREFIX=/some/path`**