ffmpeg / doc / build_system.txt @ 043d2ff2
History | View | Annotate | Download (1.04 KB)
1 | 326ede48 | Michael Niedermayer | FFmpeg currently uses a custom build system, this text attempts to document |
---|---|---|---|
2 | some of its obscure features and options. |
||
3 | |||
4 | Options to make: |
||
5 | make V=1 <target> |
||
6 | Build target with verbosity 1, instead of 1, 2 can be used too |
||
7 | |||
8 | |||
9 | Useful standard make commands: |
||
10 | make -t <target> |
||
11 | Touch all files that otherwise would be build, this is useful to reduce |
||
12 | unneeded rebuilding when changing headers, but note you must force rebuilds |
||
13 | of files that actually need it by hand then. |
||
14 | |||
15 | make -j<num> |
||
16 | rebuild with multiple jobs at the same time. Faster on multi processor systems |
||
17 | |||
18 | make -k |
||
19 | continue build in case of errors, this is useful for the regression tests |
||
20 | sometimes but note it will still not run all reg tests. |
||
21 | |||
22 | |||
23 | Targets to make: |
||
24 | fate-list |
||
25 | Will list all fate/regression test targets |
||
26 | |||
27 | fate |
||
28 | Run the fate test suite, note you must have installed it |
||
29 | |||
30 | |||
31 | Setting up local fate: |
||
32 | use the following command to get the fate test samples |
||
33 | rsync -aL rsync://rsync.mplayerhq.hu:/samples/fate-suite/ fate/fate-suite |
||
34 | pass --samples=<path to the samples> to configure |