Files

28 lines
1.0 KiB
CMake
Raw Permalink Normal View History

2020-10-17 16:40:48 +02:00
# This file is part of the Flowee project
2021-01-06 23:15:54 +01:00
# Copyright (C) 2020-2021 Tom Zander <tom@flowee.org>
2020-10-17 16:40:48 +02:00
#
# This program 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 <http://www.gnu.org/licenses/>.
2020-10-17 16:38:37 +02:00
set(CMAKE_AUTOMOC ON)
2022-12-11 00:03:27 +01:00
include_directories(${Qt6Test_INCLUDE_DIRS})
2020-10-17 16:38:37 +02:00
add_executable(test_wallet
TestWallet.cpp
2022-12-11 00:03:27 +01:00
${CMAKE_SOURCE_DIR}/src/Wallet_test.cpp
2023-06-11 19:06:16 +02:00
${CMAKE_SOURCE_DIR}/src/ModuleManager_empty.cpp
2020-10-17 16:38:37 +02:00
)
2022-08-20 18:23:51 +02:00
target_link_libraries(test_wallet pay_lib Qt6::Test)
2020-10-17 16:38:37 +02:00
add_test(NAME Pay_test_wallet COMMAND test_wallet)