diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-08-10 08:35:29 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-08-10 08:35:29 +0200 |
commit | 2a3ed016991d0461718ed89811e61aad9202566f (patch) | |
tree | 916630c34237fdc0c4c5c1982301fd3d4f36343d /INSTALL.md | |
parent | 3b69c237d620907701c4bef2c0296fd78ba04d77 (diff) | |
parent | e0c8e1558f6fd41ebd5a9b6919d76ef324b2d402 (diff) | |
download | libayatana-appindicator-2a3ed016991d0461718ed89811e61aad9202566f.tar.gz libayatana-appindicator-2a3ed016991d0461718ed89811e61aad9202566f.tar.bz2 libayatana-appindicator-2a3ed016991d0461718ed89811e61aad9202566f.zip |
Merge branch 'tari01-pr/build-instructions'
Attributes GH PR #68: https://github.com/AyatanaIndicators/libayatana-appindicator/pull/68
Diffstat (limited to 'INSTALL.md')
-rw-r--r-- | INSTALL.md | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/INSTALL.md b/INSTALL.md new file mode 100644 index 0000000..64921de --- /dev/null +++ b/INSTALL.md @@ -0,0 +1,62 @@ +# Build and installation instructions + +## Compile-time build dependencies + + - cmake + - cmake-extras + - at-spi2-core + - gobject-introspection + - intltool + - gtk-doc + - libxml2 + - vala + - mono + - glib2 + - gtk3 + - gtk3-docs + - gtk-sharp-3 + - libayatana-indicator + - libdbusmenu-gtk3 + - libdbusmenu-glib + - libgirepository + - dbus-test-runner - **For testing** + - xorg-server-xvfb - **For testing** + - gcovr - **For coverage** + - lcov - **For coverage** + +## For end-users and packagers + +``` +cd libayatana-appindicator +mkdir build +cd build +cmake .. -DENABLE_GTKDOC=ON +make +sudo make install +``` + +**The install prefix defaults to `/usr`, change it with `-DCMAKE_INSTALL_PREFIX=/some/path`** +<br> +**The libexec prefix defaults to `/libexec`, change it with `-DCMAKE_INSTALL_LIBEXECDIR=lib`** + +## For testers - unit tests only + +``` +cd libayatana-appindicator +mkdir build +cd build +cmake .. -DENABLE_GTKDOC=ON -DENABLE_WERROR=ON -DENABLE_TESTS=ON +make +make test +``` + +## For testers - both unit tests and code coverage + +``` +cd libayatana-appindicator +mkdir build +cd build +cmake .. -DENABLE_GTKDOC=ON -DENABLE_WERROR=ON -DENABLE_COVERAGE=ON +make +make coverage +``` |