1. 25 Jun, 2019 1 commit
    • Marius Vlad's avatar
      build: Add sphinx/breathe support for generating documentation · bbf6ea0b
      Marius Vlad authored
      This is adds basic configuration files for doxygen and for breathe,
      which is a doxygen-to-sphinx bridge that can document C symbols.
      Breathe is configured with default project 'weston' and implicitly adds
      :members: and :undoc-members: to breathe configuration options.
      This allows a shorter way to call breathe directives without the need
      specify the project and also to display implicitly all the members,
      documented or not.
      A 'docs' run_target to force the docs to be re-built has been added.
      Initially (the first time the build system is ran) the documentation
      will automatically be built, but later re-builds will require the use of
      the 'docs' target. This avoid further delays in building weston but in
      the same time allows the possiblity to update/improve the documentation
      bits to those who want that.
      Signed-off-by: Marius Vlad's avatarMarius Vlad <marius.vlad@collabora.com>
  2. 05 Mar, 2019 1 commit
  3. 09 Dec, 2018 1 commit
    • Daniel Stone's avatar
      Add Meson build system · 8011b0fa
      Daniel Stone authored
      Meson is a build system, currently implemented in Python, with multiple
      output backends, including Ninja and Make. The build file syntax is
      clean and easy to read unlike autotools. In practise, configuring and
      building with Meson and Ninja has been observed to be much faster than
      with autotools. Also cross-building support is excellent.
      More information at http://mesonbuild.com
      Since moving to Meson requires some changes from users in any case, we
      took this opportunity to revamp build options. Most of the build options
      still exist, some have changed names or more, and a few have been
      dropped. The option to choose the Cairo flavour is not implemented since
      for the longest time the Cairo image backend has been the only
      recommended one.
      This Meson build should be fully functional and it installs everything
      an all-enabled autotools build does. Installed pkg-config files have
      some minor differences that should be insignificant. Building of some
      developer documentation that was never installed with autotools is
      It is expected that the autotools build system will be removed soon
      after the next Weston release.
      Signed-off-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
      Co-authored-by: Pekka Paalanen's avatarPekka Paalanen <pq@iki.fi>
      Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pq@iki.fi>