Cleanup: remove contributors for CMake files
[blender.git] / extern / gtest / CMakeLists.txt
1 # ***** BEGIN GPL LICENSE BLOCK *****
2 #
3 # This program is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU General Public License
5 # as published by the Free Software Foundation; either version 2
6 # of the License, or (at your option) any later version.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software Foundation,
15 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16 #
17 # The Original Code is Copyright (C) 2014, Blender Foundation
18 # All rights reserved.
19 # ***** END GPL LICENSE BLOCK *****
20
21 # avoid noisy warnings
22 if(CMAKE_COMPILER_IS_GNUCC)
23         remove_cc_flag(
24                 "-Wmissing-declarations"
25         )
26 endif()
27
28 set(INC
29         .
30         include
31 )
32
33 set(INC_SYS
34
35 )
36
37 set(SRC
38         src/gtest.cc
39         src/gtest-death-test.cc
40         src/gtest-filepath.cc
41         src/gtest-port.cc
42         src/gtest-printers.cc
43         src/gtest-test-part.cc
44         src/gtest-typed-test.cc
45
46         src/gtest-internal-inl.h
47         include/gtest/gtest-death-test.h
48         include/gtest/gtest.h
49         include/gtest/gtest-message.h
50         include/gtest/gtest-param-test.h
51         include/gtest/gtest_pred_impl.h
52         include/gtest/gtest-printers.h
53         include/gtest/gtest_prod.h
54         include/gtest/gtest-spi.h
55         include/gtest/gtest-test-part.h
56         include/gtest/gtest-typed-test.h
57         include/gtest/internal/gtest-death-test-internal.h
58         include/gtest/internal/gtest-filepath.h
59         include/gtest/internal/gtest-internal.h
60         include/gtest/internal/gtest-linked_ptr.h
61         include/gtest/internal/gtest-param-util-generated.h
62         include/gtest/internal/gtest-param-util.h
63         include/gtest/internal/gtest-port.h
64         include/gtest/internal/gtest-string.h
65         include/gtest/internal/gtest-tuple.h
66         include/gtest/internal/gtest-type-util.h
67 )
68
69 blender_add_lib(extern_gtest "${SRC}" "${INC}" "${INC_SYS}")