Full-featured matrix client for desktop
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.5 KiB

5 months ago
  1. # Copyright (C) 2021 Alexandros Theodotou <alex at zrythm dot org>
  2. #
  3. # This file is part of ψChat
  4. #
  5. # ψChat is free software: you can redistribute it and/or modify
  6. # it under the terms of the GNU Affero General Public License as published by
  7. # the Free Software Foundation, either version 3 of the License, or
  8. # (at your option) any later version.
  9. #
  10. # ψChat is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. # GNU Affero General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU Affero General Public License
  16. # along with ψChat. If not, see <https://www.gnu.org/licenses/>.
  17. project(
  18. 'psichat', 'c',
  19. version : files ('VERSION'),
  20. license: 'AGPL-3-or-later',
  21. meson_version: '>= 0.57.0',
  22. default_options: [
  23. 'warning_level=2',
  24. 'buildtype=debugoptimized',
  25. 'c_std=gnu11',
  26. ],
  27. )
  28. # --- Set common variables ---
  29. cc = meson.get_compiler ('c')
  30. meson_src_root = meson.current_source_dir ()
  31. meson_build_root = meson.current_build_dir ()
  32. prefix = get_option ('prefix')
  33. bindir = prefix / get_option ('bindir')
  34. libdir = prefix / get_option ('libdir')
  35. libexecdir = prefix / get_option ('libexecdir')
  36. includedir = prefix / get_option ('includedir')
  37. datadir = prefix / get_option ('datadir')
  38. sysconfdir = get_option ('sysconfdir')
  39. summary ({
  40. 'prefix': prefix,
  41. 'includedir': includedir,
  42. 'libdir': libdir,
  43. 'datadir': datadir,
  44. 'sysconfdir': sysconfdir,
  45. }, section: 'Directories')