Files

39 lines
1.3 KiB
CMake
Raw Permalink Normal View History

2020-10-17 16:40:48 +02:00
# This file is part of the Flowee project
# Copyright (C) 2020-2025 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/>.
2022-08-20 18:23:51 +02:00
find_package(Qt6Test)
if (${Qt6Test_FOUND})
2020-10-17 16:38:37 +02:00
enable_testing()
2021-01-31 22:51:55 +01:00
add_definitions(-DIN_TESTS)
2020-10-17 16:38:37 +02:00
add_subdirectory(wallet)
2022-12-13 20:07:04 +01:00
add_subdirectory(walletHistoryModel)
2021-11-03 18:29:31 +01:00
add_subdirectory(value)
2022-08-02 21:49:30 +02:00
add_subdirectory(priceHistory)
2025-03-07 23:25:52 +01:00
add_subdirectory(fiat)
add_subdirectory(utils)
2025-06-07 22:23:34 +02:00
add_subdirectory(payment)
2020-10-17 16:38:37 +02:00
add_custom_target(check COMMAND LANG=C ${CMAKE_CTEST_COMMAND} DEPENDS
2021-01-31 22:51:55 +01:00
test_wallet
2022-12-19 23:29:38 +01:00
test_wallethistorymodel
2021-11-03 18:29:31 +01:00
test_value
2025-06-07 22:23:34 +02:00
test_payment
2022-08-02 21:49:30 +02:00
test_price_history
2025-03-07 23:25:52 +01:00
test_fiat
test_utils
2020-10-17 16:38:37 +02:00
)
endif ()