Vivy
Build
Using cmake
Simply use cmake to build in another folder of the source folder:
cmake -Bbuild -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang
If you want to use the compile_commands.json
, use the
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
option with cmake and copy the json
file into the root folder of the project.
To do a debug build, use the debug switch with cmake:
-DCMAKE_BUILD_TYPE=Debug
.
Dependencies
This project depends on cmake as a build system. For dependencies on Windows and MacOS, the easier thing to do is grab qtcreator and find a way to add the av libraries to it.
Ubuntu/debian
Vivy depends on Qt5, libav and more. On ubuntu install the following
packages: qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libavutil-dev libavcodec-dev libavformat-dev
.
Arch/Manjaro
TODO!
FreeBSD and other toasters
You will need cmake, qt and av dev packages. Set your favorite C++
compiler with -DCMAKE_CXX_COMPILER
and you're good to go.