a C++ library to parse and create Matroska files
libmatroska is based on cmake
. It requires a C++ compiler compatible
with the C++17 standard as well as
libebml. This means that
the normal build process consists of the usual steps:
- Create a build directory:
mkdir build ; cd build
- Generate the make file:
cmake ..
- Compilation:
make
- Installation (run this as root):
make install
By default only a static library is built.
This library supports the usual cmake
options for specifying
installation paths (e.g. -DCMAKE_INSTALL_PREFIX=/opt/libmatroska
). The
following additional cmake
options are supported:
-DEbml_DIR=/path/to/libebml
— iflibebml
was installed in a non-default location, you have to tellcmake
where to find it. Point this variable to the directory containing theEbmlConfig.cmake
file.-DDISABLE_PKGCONFIG=YES
— don't generate and install thelibebml.pc
package configuration module forpkg-config
-DDISABLE_CMAKE_CONFIG=YES
— don't generate and install the package configuration module forcmake
-DBUILD_SHARED_LIBS=YES
— build the shared library instead of the static one (default: no)
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.