- libxenbe
- alsa
- pulse
- Doxygen
mkdir ${BUILD_DIR}
cd ${BUILD_DIR}
cmake ${PATH_TO_SOURCES} -D${VAR1}=${VAL1} -D{VAR2}=${VAL2} ...
There are variables and options. Options can be set to ON and OFF.
Supported options:
Option | Description |
---|---|
WITH_DOC |
Creates target to build documentation. It required Doxygen to be installed. If configured, documentation can be create with make doc |
WITH_PULSE |
Builds with pulse audio backend |
WITH_ALSA |
Builds with alsa backend |
WITH_MOCKBELIB |
Use test mock backend library |
Supported variables:
Variable | Description |
---|---|
CMAKE_BUILD_TYPE |
Realease , Debug , RelWithDebInfo , MinSizeRel |
CMAKE_INSTALL_PREFIX |
Default install path |
XEN_INCLUDE_PATH |
Path to Xen tools includes if they are located in non standard place |
XENBE_INCLUDE_PATH |
Path to libxenbe includes if they are located in non standard place |
IF_INCLUDE_PATH |
Path to the interface headers if they are located in non standard place |
XENBEMOCK_INCLUDE_PATH |
Path to the mock headers if they are located in non standard place |
XEN_LIB_PATH |
Path to Xen tools libraries if they are located in non standard place |
XENBE_LIB_PATH |
Path to libxenbe if it is located in non standard place |
XENBEMOCK_LIB_PATH |
Path to libxenbemock if it is located in non standard place |
Example:
// Debug build with pulse backend
cmake ${PATH_TO_SOURCES} -DWITH_PULSE=ON -DCMAKE_BUILD_TYPE=Debug
cd ${BUILD_DIR}
make // build sources
make doc // build documentation
make install // to default location
make DESTDIR=${PATH_TO_INSTALL} install //to other location
disple_be -v${LOG_MASK}
Example:
snd_be -v *:Debug