2023-06-14 22:49:59 +10:00
|
|
|
# SPDX-FileCopyrightText: 2014 Blender Foundation
|
|
|
|
|
#
|
2022-02-11 09:07:11 +11:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
2014-06-18 22:49:17 +10:00
|
|
|
|
2015-06-23 14:33:17 +10:00
|
|
|
# avoid noisy warnings
|
|
|
|
|
if(CMAKE_COMPILER_IS_GNUCC)
|
|
|
|
|
remove_cc_flag(
|
|
|
|
|
"-Wmissing-declarations"
|
|
|
|
|
)
|
|
|
|
|
endif()
|
|
|
|
|
|
2014-06-18 22:49:17 +10:00
|
|
|
set(INC
|
|
|
|
|
.
|
|
|
|
|
include
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
set(INC_SYS
|
|
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
set(SRC
|
2020-06-18 13:23:12 +02:00
|
|
|
# src/gtest-all.cc
|
|
|
|
|
# src/gtest_main.cc
|
|
|
|
|
|
2014-06-18 22:49:17 +10:00
|
|
|
src/gtest.cc
|
2024-08-29 20:53:01 +02:00
|
|
|
src/gtest-assertion-result.cc
|
2014-06-18 22:49:17 +10:00
|
|
|
src/gtest-death-test.cc
|
|
|
|
|
src/gtest-filepath.cc
|
2020-06-18 13:23:12 +02:00
|
|
|
src/gtest-matchers.cc
|
2014-06-18 22:49:17 +10:00
|
|
|
src/gtest-port.cc
|
|
|
|
|
src/gtest-printers.cc
|
|
|
|
|
src/gtest-test-part.cc
|
|
|
|
|
src/gtest-typed-test.cc
|
|
|
|
|
|
2014-08-02 19:16:00 +10:00
|
|
|
src/gtest-internal-inl.h
|
2020-06-18 13:23:12 +02:00
|
|
|
|
2014-06-18 22:49:17 +10:00
|
|
|
include/gtest/gtest.h
|
2020-06-18 13:23:12 +02:00
|
|
|
include/gtest/gtest_pred_impl.h
|
|
|
|
|
include/gtest/gtest_prod.h
|
2024-08-29 20:53:01 +02:00
|
|
|
include/gtest/gtest-assertion-result.h
|
2020-06-18 13:23:12 +02:00
|
|
|
include/gtest/gtest-death-test.h
|
|
|
|
|
include/gtest/gtest-matchers.h
|
2014-06-18 22:49:17 +10:00
|
|
|
include/gtest/gtest-message.h
|
|
|
|
|
include/gtest/gtest-param-test.h
|
|
|
|
|
include/gtest/gtest-printers.h
|
|
|
|
|
include/gtest/gtest-spi.h
|
|
|
|
|
include/gtest/gtest-test-part.h
|
|
|
|
|
include/gtest/gtest-typed-test.h
|
2020-06-18 13:23:12 +02:00
|
|
|
include/gtest/internal/custom/gtest.h
|
|
|
|
|
include/gtest/internal/custom/gtest-port.h
|
|
|
|
|
include/gtest/internal/custom/gtest-printers.h
|
2014-06-18 22:49:17 +10:00
|
|
|
include/gtest/internal/gtest-death-test-internal.h
|
|
|
|
|
include/gtest/internal/gtest-filepath.h
|
|
|
|
|
include/gtest/internal/gtest-internal.h
|
|
|
|
|
include/gtest/internal/gtest-param-util.h
|
|
|
|
|
include/gtest/internal/gtest-port.h
|
2020-06-18 13:23:12 +02:00
|
|
|
include/gtest/internal/gtest-port-arch.h
|
2014-06-18 22:49:17 +10:00
|
|
|
include/gtest/internal/gtest-string.h
|
|
|
|
|
include/gtest/internal/gtest-type-util.h
|
|
|
|
|
)
|
|
|
|
|
|
2019-04-14 15:18:44 +02:00
|
|
|
set(LIB
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
blender_add_lib(extern_gtest "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
|