forked from bartvdbraak/blender
c434782e3a
Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
63 lines
1.4 KiB
CMake
63 lines
1.4 KiB
CMake
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright 2014 Blender Foundation. All rights reserved.
|
|
|
|
# avoid noisy warnings
|
|
if(CMAKE_COMPILER_IS_GNUCC)
|
|
remove_cc_flag(
|
|
"-Wmissing-declarations"
|
|
)
|
|
endif()
|
|
|
|
set(INC
|
|
.
|
|
include
|
|
)
|
|
|
|
set(INC_SYS
|
|
|
|
)
|
|
|
|
set(SRC
|
|
# src/gtest-all.cc
|
|
# src/gtest_main.cc
|
|
|
|
src/gtest.cc
|
|
src/gtest-death-test.cc
|
|
src/gtest-filepath.cc
|
|
src/gtest-matchers.cc
|
|
src/gtest-port.cc
|
|
src/gtest-printers.cc
|
|
src/gtest-test-part.cc
|
|
src/gtest-typed-test.cc
|
|
|
|
src/gtest-internal-inl.h
|
|
|
|
include/gtest/gtest.h
|
|
include/gtest/gtest_pred_impl.h
|
|
include/gtest/gtest_prod.h
|
|
include/gtest/gtest-death-test.h
|
|
include/gtest/gtest-matchers.h
|
|
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
|
|
include/gtest/internal/custom/gtest.h
|
|
include/gtest/internal/custom/gtest-port.h
|
|
include/gtest/internal/custom/gtest-printers.h
|
|
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
|
|
include/gtest/internal/gtest-port-arch.h
|
|
include/gtest/internal/gtest-string.h
|
|
include/gtest/internal/gtest-type-util.h
|
|
)
|
|
|
|
set(LIB
|
|
)
|
|
|
|
blender_add_lib(extern_gtest "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
|