meson.1 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. .TH MESON "1" "October 2016" "meson 0.35.0" "User Commands"
  2. .SH NAME
  3. meson - a high productivity build system
  4. .SH DESCRIPTION
  5. Meson is a build system designed to optimize programmer
  6. productivity. It aims to do this by providing simple, out-of-the-box
  7. support for modern software development tools and practices, such as
  8. unit tests, coverage reports, Valgrind, CCache and the like.
  9. Using Meson is simple and follows the common two-phase
  10. process of most build systems. First you run Meson to
  11. configure your build:
  12. .B meson [
  13. .I options
  14. .B ] [
  15. .I source directory
  16. .B ] [
  17. .I build directory
  18. .B ]
  19. Note that the build directory must be different from the source
  20. directory. Meson does not support building inside the source directory
  21. and attempting to do that leads to an error.
  22. After a successful configuration step you can build the source by
  23. running the actual build command in the build directory. The default
  24. backend of Meson is Ninja, which can be invoked like this.
  25. \fBninja [\fR \fItarget\fR \fB]\fR
  26. You only need to run the Meson command once: when you first configure
  27. your build dir. After that you just run the build command. Meson will
  28. autodetect changes in your source tree and regenerates all files
  29. needed to build the project.
  30. .SS "options:"
  31. .TP
  32. \fB\-\-version\fR
  33. print version number
  34. .TP
  35. \fB\-\-help\fR
  36. print command line help
  37. .SH SEE ALSO
  38. http://mesonbuild.com/