Files
hexagonrpc/meson.build
Richard Acayan e8dfce1a67 sensh: add meson build system
The top-level Makefile is difficult to use and add new source files. Add
a new build system so that a future set of breaking changes can remove
it.
2023-03-24 22:30:44 -04:00

35 lines
978 B
Meson

#
# Build system root
#
# Copyright (C) 2023 Richard Acayan
#
# This file is part of sensh.
#
# Sensh is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
project('sensh', 'c')
libqrtr = meson.get_compiler('c').find_library('qrtr')
libprotobuf_c = dependency('libprotobuf-c')
subdir('protobuf')
subdir('qmi')
executable('sensh',
'sensh.c',
qmi,
protobufs,
dependencies : [libprotobuf_c, libqrtr])