README.cmake 825 B

123456789101112131415161718192021222324252627282930313233343536
  1. The Make System
  2. ================
  3. To compile this program using cmake you require cmake 3.3 or newer.
  4. Building
  5. --------
  6. The recommended way is to generate a build directory and build in it, e.g.
  7. mkdir build
  8. cd build
  9. cmake .. OR cmake -G Ninja ..
  10. make -j4 OR ninja
  11. You can use either the make or the ninja generator; the ninja stuff is faster,
  12. though. You can also build in-tree:
  13. cmake -G Ninja
  14. ninja
  15. To build a subdirectory; for example, apt-pkg, use one of:
  16. ninja apt-pkg/all
  17. make -C apt-pkg -j4 (or cd apt-pkg && make -j4)
  18. Ninja automatically parallelizes, make needs an explicit -j switch. The travis
  19. system uses the make generator, the packaging as well.
  20. TODO
  21. ----
  22. The following features have not been implemented yet:
  23. - Translated docbook guides
  24. - unit tests