Manage your TV/Radio broadcast
Unzip the googletest framework in your lib directory.
cd lib/
wget https://googletest.googlecode.com/files/gtest-1.7.0.zip
unzip gtest-1.7.0.zip
rm -f gtest-1.7.0.zip
Install the dependencies :
# Debian like
apt-get install libyaml-cpp-dev
# Mac OS
brew install yaml-cpp
Create a fresh build directory, usually doing :
cd $MYDVBLMGRCODEROOT
mkdir build && cd build
cmake ..
make -j8
On Mac OS with homebrew you may have to use -DYAMLCPP_STATIC_LIBRARY=1
in cmake because you don't have the dynamic library files for yaml-cpp.
By default Release mode is enabled, to include debug symbols and extra warnings when you are developping you can switch to Debug mode in cmake with -DCMAKE_BUILD_TYPE=Debug
In the build directory, you have several binaries for test purposes:
# Run tests of dvblmgr
dvblmgr/runTestsDvblmgr
# Run tests of the shared libdvblmgr
libdvblmgr/runTestsLibrary