blob: 63749aad46d6dc18b7cc59e5a6f92971873eb351 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright 2016 Blender Foundation. All rights reserved.
# Too noisy for code we don't maintain.
if(CMAKE_COMPILER_IS_GNUCC)
add_cxx_flag("-Wno-cast-function-type")
endif()
set(INC
src
src/gflags
)
set(INC_SYS
)
set(SRC
src/gflags.cc
src/gflags_completions.cc
src/gflags_reporting.cc
src/gflags/config.h
src/gflags/gflags_completions.h
src/gflags/gflags_declare.h
src/gflags/gflags_gflags.h
src/gflags/gflags.h
src/mutex.h
src/util.h
)
set(LIB
)
if(WIN32)
list(APPEND SRC
src/windows_port.cc
src/windows_port.h
)
endif()
add_definitions(${GFLAGS_DEFINES})
blender_add_lib(extern_gflags "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
|