build_system.txt 1.2 KB

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