Debian Codegraph @

BUILD.md

raw symbols SCIP
1 # Build instructions
2
3 Frei0r can be built using CMake.
4
5 Minimum toolchain expectations:
6
7 + C compiler
8 + C++ compiler with C++11 support (required)
9 + CMake
10 + Ninja or Make
11
12 The presence of optional libraries on the system will trigger compilation of extra plugins. These libraries are:
13
14 + [Gavl](http://gmerlin.sourceforge.net) required for scale0tilt and vectorscope filters
15
16 + [OpenCV](http://opencvlibrary.sourceforge.net) required for facebl0r filter
17
18 + [Cairo](http://cairographics.org) required for cairo- filters and mixers
19
20 ## Optional build flags
21
22 + `-DWITHOUT_FACERECOGNITION=ON` - Disable face recognition plugins (facedetect and facebl0r) to avoid protobuf conflicts with applications like MLT
23
24 It is recommended to use a separate `build` sub-folder.
25
26 ```
27 cmake -S . -B build
28 cmake --build build
29 ```
30
31 To disable face recognition plugins (recommended when using with MLT):
32 ```
33 cmake -S . -B build -DWITHOUT_FACERECOGNITION=ON
34 cmake --build build
35 ```
36
37 Ninja and nmake are also supported through CMake:
38 ```
39 cmake -S . -B build -G 'Ninja'
40 cmake -S . -B build -G 'NMake Makefiles'
41 ```
42
43 Top-level shorthand targets are available through `GNUmakefile`:
44 ```
45 make release-gcc-ninja
46 make debug-gcc
47 ```
48
49 Runtime test utilities:
50 ```
51 cd test
52 make frei0r-asan # builds ./frei0r-run with ASAN
53 make check # loads and runs all built plugins under ../build/src
54 make frei0r-meta
55 make scan-meta
56 ```