| 1 |
# SPDX-License-Identifier: GPL-2.0-or-later |
| 2 |
# SPDX-FileCopyrightText: 2017-2021 Bartosz Golaszewski <[email protected]> |
| 3 |
|
| 4 |
AM_CXXFLAGS = -I$(top_srcdir)/bindings/cxx/ -I$(top_srcdir)/include |
| 5 |
AM_CXXFLAGS += -I$(top_srcdir)/tests/gpiosim/ |
| 6 |
AM_CXXFLAGS += -Wall -Wextra -g -std=gnu++17 $(CATCH2_CFLAGS) |
| 7 |
AM_LDFLAGS = -pthread $(CATCH2_LIBS) |
| 8 |
LDADD = $(top_builddir)/bindings/cxx/libgpiodcxx.la |
| 9 |
LDADD += $(top_builddir)/tests/gpiosim/libgpiosim.la |
| 10 |
|
| 11 |
noinst_PROGRAMS = gpiod-cxx-test |
| 12 |
|
| 13 |
gpiod_cxx_test_SOURCES = \ |
| 14 |
check-kernel.cpp \ |
| 15 |
gpiod-cxx-test-main.cpp \ |
| 16 |
gpiosim.cpp \ |
| 17 |
gpiosim.hpp \ |
| 18 |
helpers.cpp \ |
| 19 |
helpers.hpp \ |
| 20 |
tests-chip.cpp \ |
| 21 |
tests-chip-info.cpp \ |
| 22 |
tests-edge-event.cpp \ |
| 23 |
tests-info-event.cpp \ |
| 24 |
tests-line.cpp \ |
| 25 |
tests-line-config.cpp \ |
| 26 |
tests-line-info.cpp \ |
| 27 |
tests-line-request.cpp \ |
| 28 |
tests-line-settings.cpp \ |
| 29 |
tests-misc.cpp \ |
| 30 |
tests-request-config.cpp |