Serd subproject with meson
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
1.7 KiB

Installation Instructions
Basic Installation
Building this software requires only Python. To install with default options:
./waf configure
./waf install # or sudo ./waf install
Configuration Options
All supported options can be viewed using the command:
./waf --help
Most options only need to be passed during the configure stage, for example:
./waf configure --prefix=/usr
./waf install
Compiler Configuration
Several standard environment variables can be used to control how compilers are
* CC: Path to C compiler
* CFLAGS: C compiler options
* CXX: Path to C++ compiler
* CXXFLAGS: C++ compiler options
* CPPFLAGS: C preprocessor options
* LINKFLAGS: Linker options
Library Versioning
This library uses semantic versioning <>.
Several major versions can be installed in parallel. The shared library name,
include directory, and pkg-config file are suffixed with the major version
number. For example, a library named "foo" at version 1.x.y might install:
Dependencies can check for the package "foo-1" with pkg-config.
Everything can be installed to a specific root directory by passing a --destdir
option to the install stage (or setting the DESTDIR environment variable),
which adds a prefix to all install paths. For example:
./waf configure --prefix=/usr
./waf install --destdir=/tmp/package
Packages should allow parallel installation of several major versions. For
example, the above would be packaged as "foo-1".