Files
test/source/blender/blenfont/CMakeLists.txt
Campbell Barton c434782e3a File headers: SPDX License migration
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
2022-02-11 09:14:36 +11:00

58 lines
891 B
CMake

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright 2008 Blender Foundation. All rights reserved.
set(INC
.
../blenkernel
../blenlib
../blentranslation
../gpu
../imbuf
../makesdna
../makesrna
../../../intern/glew-mx
../../../intern/guardedalloc
)
set(INC_SYS
${FREETYPE_INCLUDE_DIRS}
)
set(SRC
intern/blf.c
intern/blf_default.c
intern/blf_dir.c
intern/blf_font.c
intern/blf_font_default.c
intern/blf_glyph.c
intern/blf_thumbs.c
intern/blf_util.c
BLF_api.h
intern/blf_internal.h
intern/blf_internal_types.h
)
set(LIB
bf_gpu
bf_intern_guardedalloc
${FREETYPE_LIBRARIES} ${BROTLI_LIBRARIES}
)
if(WIN32)
list(APPEND SRC
intern/blf_font_win32_compat.c
)
endif()
if(WITH_PYTHON)
add_definitions(-DWITH_PYTHON)
list(APPEND INC
../python
)
endif()
blender_add_lib(bf_blenfont "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")