This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender/render/CMakeLists.txt
Brecht Van Lommel 21acfbe348 Cleanup: move Cycles display driver context handling to render module
This is highly coupled to Blender logic so doesn't belong in Cycles.
2022-08-29 19:45:58 +02:00

84 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
../windowmanager
../../../intern/atomic
../../../intern/guardedalloc
../../../intern/mikktspace
../../../intern/mantaflow/extern
)
set(SRC
intern/bake.c
intern/engine.cc
intern/initrender.cc
intern/multires_bake.c
intern/pipeline.cc
intern/render_result.cc
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}")