2023-08-16 00:20:26 +10:00
|
|
|
# SPDX-FileCopyrightText: 2014-2022 Blender Authors
|
2023-06-14 22:49:59 +10:00
|
|
|
#
|
2022-02-11 14:23:56 +11:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
2014-06-18 22:49:17 +10:00
|
|
|
|
2014-06-18 22:28:27 +06:00
|
|
|
if(WITH_GTESTS)
|
2021-06-22 10:42:32 -07:00
|
|
|
# Otherwise we get warnings here that we can't fix in external projects
|
2014-06-18 22:49:17 +10:00
|
|
|
remove_strict_flags()
|
|
|
|
|
|
2020-08-07 16:43:42 +02:00
|
|
|
# Build common test executable used by most tests
|
2024-01-03 18:35:50 +01:00
|
|
|
if(WITH_TESTS_SINGLE_BINARY)
|
|
|
|
|
add_subdirectory(runner)
|
|
|
|
|
endif()
|
2020-07-16 12:58:49 +02:00
|
|
|
|
2020-08-07 16:43:42 +02:00
|
|
|
# Build utility library used by test executables
|
2014-06-18 22:49:17 +10:00
|
|
|
add_subdirectory(testing)
|
|
|
|
|
endif()
|