This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/render/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

83 lines
1.3 KiB
CMake

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright 2006 Blender Foundation. All rights reserved.
set(INC
.
intern
../blenkernel
../blenlib
../blentranslation
../depsgraph
../draw
../gpu
../imbuf
../makesdna
../makesrna
../nodes
../sequencer
../simulation
../../../intern/atomic
../../../intern/guardedalloc
../../../intern/mikktspace
../../../intern/mantaflow/extern
)
set(SRC
intern/bake.c
intern/engine.c
intern/initrender.c
intern/multires_bake.c
intern/pipeline.c
intern/render_result.c
intern/texture_image.c
intern/texture_margin.cc
intern/texture_pointdensity.c
intern/texture_procedural.c
intern/zbuf.c
RE_bake.h
RE_engine.h
RE_multires_bake.h
RE_pipeline.h
RE_texture.h
RE_texture_margin.h
intern/pipeline.h
intern/render_result.h
intern/render_types.h
intern/texture_common.h
intern/zbuf.h
)
set(LIB
)
if(WITH_PYTHON)
add_definitions(-DWITH_PYTHON)
list(APPEND INC
../python
)
endif()
if(WITH_IMAGE_OPENEXR)
list(APPEND LIB
bf_imbuf_openexr
)
add_definitions(-DWITH_OPENEXR)
endif()
if(WITH_FREESTYLE)
list(APPEND INC
../freestyle
)
list(APPEND LIB
bf_freestyle
)
add_definitions(-DWITH_FREESTYLE)
endif()
blender_add_lib_nolist(bf_render "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")