1. 11 Apr, 2021 3 commits
  2. 10 Apr, 2021 9 commits
  3. 09 Apr, 2021 8 commits
  4. 06 Apr, 2021 2 commits
  5. 05 Apr, 2021 3 commits
  6. 04 Apr, 2021 2 commits
  7. 02 Apr, 2021 3 commits
  8. 30 Mar, 2021 1 commit
  9. 29 Mar, 2021 3 commits
  10. 26 Mar, 2021 3 commits
  11. 24 Mar, 2021 1 commit
    • Andrea Pappacoda's avatar
      Add Cppcheck and Doxygen in Meson... · bf53fb79
      Andrea Pappacoda authored
      ...fix RapidJSON dependency, remove features from CMake
      
      I've now implemented in Meson all the remaining features that were in
      CMake, like Cppcheck and Doxygen documentation. I've also removed almost
      all the non-essential features from CMake, like building examples,
      documentation, code coverage, the install target, Cppcheck, and tarball
      generation. This should help with maintainability, while preserving
      testability, following @kiplingw and @dennisjenkins75 main concerns.
      
      Cppcheck is not ran by default, but it is a build target; you can run it
      with `meson compile -C builddir cppcheck`.
      
      I've also made some little fixes and tweaks:
      
      Fixed RapidJSON
      dependency, as it was previously declared only as a dependency of the
      run_rest_description example, while used in
      include/pistache/thirdparty/serializer/rapidjson.h.
      
      Updated CMakeLists, replacing the old Include(Dart) with the newer
      Include(CTest), and also adding messaging suggesting the user to install
      RapidJSON and GoogleTest on their system rather than building them from
      source.
      
      Fixed a "small" issue in meson.build, replacing add_global_arguments
      with add_project_arguments, since the former can't be used in
      subprojects and can cause build failures for users.
      bf53fb79
  12. 18 Mar, 2021 1 commit
    • Andrea Pappacoda's avatar
      Use CMake's FetchContent and remove git submodules · cfd5322e
      Andrea Pappacoda authored
      Submodules get included in the source tarball generated by meson dist,
      making dpkg-source throw a lot of warnings.
      
      Using FetchContent instead of submodules has a few advantages:
      Solves packaging warnings
      Faster git clone
      External dependencies get downloaded only if needed
      cfd5322e
  13. 16 Mar, 2021 1 commit
    • Andrea Pappacoda's avatar
      Fix Debian packaging with Meson · f3080e9e
      Andrea Pappacoda authored
      Now the package is built with Meson. I've updated the debhelper-compat version to 12 since it provides good support for Meson, I've removed the lintian overrides (useless since the migration to Docusaurus), and obviously updated debian/rules to use Meson for building the package and creating the tarball.
      
      This is not perfect though, as I had to use an ugly hack for the tarball since Meson does not add .github to the archive (mesonbuild/meson#8541).
      Also, it is not possible to run the tests with valgrind since debhelper 12 uses ninja test for testing (while it should use meson test, so that one could add --wrap=valgrind). This behavior is corrected in debhelper 13, but it is too recent and not available in Ubuntu 20.04. It would be also possible to completely override dh_auto_test, but I don't think that's worth it.
      
      autopkgtest does not report any error in Ubuntu Focal, so I think that everything is ok :)
      f3080e9e