diff options
author | Robert Tari <robert@tari.in> | 2021-04-29 18:59:04 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-05-01 21:33:04 +0200 |
commit | 17f5d8f5023f496cb09b2800786af1a43aabf247 (patch) | |
tree | 1a5833eac3a10ad2a8b38f9a27dfd5c327a75be5 | |
parent | ddaf9295a99c25292654e29b9391eb9290ad7ad2 (diff) | |
download | libayatana-common-17f5d8f5023f496cb09b2800786af1a43aabf247.tar.gz libayatana-common-17f5d8f5023f496cb09b2800786af1a43aabf247.tar.bz2 libayatana-common-17f5d8f5023f496cb09b2800786af1a43aabf247.zip |
INSTALL.md: Add build/installation instructions
-rw-r--r-- | INSTALL.md | 31 |
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`** |