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
39 lines
600 B
CMake
39 lines
600 B
CMake
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright 2016 Blender Foundation. All rights reserved.
|
|
|
|
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}")
|