- File README-Unix.md — part of check-in [e8696effde] at 2018-10-27 07:30:13 on branch trunk — Fixed references to README-Mac-OS-X.md (user: tangent size: 1492)
Building libtabula on Unix
This file only covers details common to all Unix variants supported by libtabula For platform-specific details, see the file appropriate to your OS:
There are no special instructions for any other Unix flavors.
Building the Library and Example Programs
libtabula uses the CMake build system. The standard way to build and install a CMake based program on a Unix type OS is:
$ mkdir build # in libtabula source root $ cd build $ cmake .. $ make $ sudo make install # OR: su -c 'make install'
Building a Static Library
As shipped, libtabula only builds a shared library. To build a static
library instead, simply change the
SHARED tag on the
make clean && make.
CMakeLists.txt automatically triggers a reconfiguration, but
if you don't "clean" the library between builds, it may not link
Beware that liking statically to libtabula has legal consequences that may matter to you, due to the library's license, the GNU LGPL. Familiarize yourself with the license, and consider getting legal counsel before proceeding. Also, see the libtabula FAQ. There is more on this topic there.