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

# Copyright (C) 2021 Alexandros Theodotou <alex at zrythm dot org>
#
# This file is part of ψChat
#
# ψChat is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ψChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with ψChat. If not, see <https://www.gnu.org/licenses/>.
project(
'psichat', 'c',
version : files ('VERSION'),
license: 'AGPL-3-or-later',
meson_version: '>= 0.57.0',
default_options: [
'warning_level=2',
'buildtype=debugoptimized',
'c_std=gnu11',
],
)
# --- Set common variables ---
cc = meson.get_compiler ('c')
meson_src_root = meson.current_source_dir ()
meson_build_root = meson.current_build_dir ()
prefix = get_option ('prefix')
bindir = prefix / get_option ('bindir')
libdir = prefix / get_option ('libdir')
libexecdir = prefix / get_option ('libexecdir')
includedir = prefix / get_option ('includedir')
datadir = prefix / get_option ('datadir')
sysconfdir = get_option ('sysconfdir')
summary ({
'prefix': prefix,
'includedir': includedir,
'libdir': libdir,
'datadir': datadir,
'sysconfdir': sysconfdir,
}, section: 'Directories')