2011-03-17 15:55:58 +00:00
|
|
|
FFmpeg currently uses a custom build system, this text attempts to document
|
2010-10-06 17:53:02 +00:00
|
|
|
some of its obscure features and options.
|
|
|
|
|
|
|
|
Options to make:
|
|
|
|
make V=1 <target>
|
|
|
|
Build target with verbosity 1, instead of 1, 2 can be used too
|
2011-02-10 08:57:18 +00:00
|
|
|
make SAMPLES=<path to the fate samples> <target>
|
|
|
|
specify the path to the fate samples at make time
|
2010-10-06 17:53:02 +00:00
|
|
|
|
|
|
|
|
|
|
|
Useful standard make commands:
|
|
|
|
make -t <target>
|
|
|
|
Touch all files that otherwise would be build, this is useful to reduce
|
|
|
|
unneeded rebuilding when changing headers, but note you must force rebuilds
|
|
|
|
of files that actually need it by hand then.
|
|
|
|
|
|
|
|
make -j<num>
|
|
|
|
rebuild with multiple jobs at the same time. Faster on multi processor systems
|
|
|
|
|
|
|
|
make -k
|
|
|
|
continue build in case of errors, this is useful for the regression tests
|
|
|
|
sometimes but note it will still not run all reg tests.
|
|
|
|
|
|
|
|
|
|
|
|
Targets to make:
|
|
|
|
fate-list
|
|
|
|
Will list all fate/regression test targets
|
|
|
|
|
|
|
|
fate
|
|
|
|
Run the fate test suite, note you must have installed it
|
|
|
|
|
|
|
|
|
|
|
|
Setting up local fate:
|
|
|
|
use the following command to get the fate test samples
|
|
|
|
rsync -aL rsync://rsync.mplayerhq.hu:/samples/fate-suite/ fate/fate-suite
|
2011-02-10 08:57:18 +00:00
|
|
|
pass --samples=<path to the samples> to configure or pass the path with the
|
|
|
|
SAMPLES variable to make
|