Skip to content

Commit

Permalink
Docs meson building
Browse files Browse the repository at this point in the history
  • Loading branch information
whs committed Sep 12, 2021
1 parent a91f604 commit fe461c4
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Basic Installation
==================

libdatrie can be build by Autotools or Meson

Autotools build
------------------

# Build requirements:
# - libtool
# - iconv support (normally from glibc on GNU systems; some systems might
Expand All @@ -25,3 +30,22 @@ make install
# In order to uninstall
make uninstall

Meson build
---------------

# Build requirements:
# - meson 0.53 or better
# - iconv support
# - doxygen (optional, for documentation generation)
#
# Recommended build dependencies:
# - CMake for iconv detection

# Add -Ddocs=disabled to disable documentation generation
meson setup builddir --buildtype release --default-library both --strip --prefix=...

cd builddir
ninja test

# With elevated permissions if required
ninja install

0 comments on commit fe461c4

Please sign in to comment.